Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 103.9 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 193.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7779/0.7779, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 63.03 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1417, allocations: 77.94 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01813/0.1599, allocations: 14.75 MB / 0.6585 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.175, allocations: 10.35 MB / 0.6686 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.1763, allocations: 55.62 kB / 0.6686 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004372/0.1807, allocations: 1.688 MB / 0.6703 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.1862, allocations: 1.852 MB / 0.6721 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.1882, allocations: 0.7536 MB / 0.6728 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.192, allocations: 2.761 MB / 0.6755 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.1942, allocations: 1.427 MB / 0.6769 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.1966, allocations: 1.523 MB / 0.6784 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.1984, allocations: 1.168 MB / 0.6795 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.1986, allocations: 160 kB / 0.6797 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.2001, allocations: 0.7877 MB / 0.6805 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.2007, allocations: 0.6037 MB / 0.6811 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009286/0.2016, allocations: 0.96 MB / 0.682 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.2047, allocations: 2.775 MB / 0.6847 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2047, allocations: 0 / 0.6847 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2047, allocations: 4 kB / 0.6847 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.939e-05/0.2047, allocations: 0 / 0.6847 GB, free: 15.73 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004061/0.2088, allocations: 2.226 MB / 0.6869 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.2089, allocations: 8.625 kB / 0.6869 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.2091, allocations: 194.3 kB / 0.6871 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.2214, allocations: 2.121 MB / 0.6892 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.2244, allocations: 1.312 MB / 0.6904 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.2245, allocations: 86.69 kB / 0.6905 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.2248, allocations: 123.9 kB / 0.6906 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/0.2305, allocations: 2.667 MB / 0.6932 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.2306, allocations: 7.938 kB / 0.6932 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.2307, allocations: 55.97 kB / 0.6933 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006812/0.2314, allocations: 190.1 kB / 0.6935 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007656/0.2391, allocations: 2.803 MB / 0.6962 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.2537, allocations: 10.48 MB / 0.7064 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006716/0.2604, allocations: 2.34 MB / 0.7087 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/0.2636, allocations: 1.284 MB / 0.71 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.2637, allocations: 12.98 kB / 0.71 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2637, allocations: 43.56 kB / 0.71 GB, free: 4.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.505e-06/0.2637, allocations: 0 / 0.71 GB, free: 4.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.06154/0.3253, allocations: 16.53 MB / 0.7262 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3254, allocations: 64.72 kB / 0.7262 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.3273, allocations: 1.176 MB / 0.7274 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.3275, allocations: 49.7 kB / 0.7274 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/0.3281, allocations: 0.7569 MB / 0.7282 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006069/0.3287, allocations: 0.5383 MB / 0.7287 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006755/0.3294, allocations: 287.5 kB / 0.729 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.3295, allocations: 305.1 kB / 0.7293 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/0.3333, allocations: 1.51 MB / 0.7307 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/0.3373, allocations: 1.78 MB / 0.7325 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007695/0.345, allocations: 3.373 MB / 0.7358 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.345, allocations: 4 kB / 0.7358 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01402/0.359, allocations: 5.274 MB / 0.7409 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.3591, allocations: 19.86 kB / 0.7409 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3591, allocations: 8 kB / 0.741 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007133/0.3662, allocations: 1.877 MB / 0.7428 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.3684, allocations: 423.2 kB / 0.7432 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3261/0.6945, allocations: 24.15 MB / 0.7668 GB, free: 78.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/0.6975, allocations: 312.2 kB / 0.7671 GB, free: 78.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.6978, allocations: 66.52 kB / 0.7671 GB, free: 78.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000917/0.6987, allocations: 466.8 kB / 0.7676 GB, free: 78.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.699, allocations: 184.9 kB / 0.7678 GB, free: 78.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.713, allocations: 5.321 MB / 0.7729 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.7131, allocations: 22.75 kB / 0.773 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/0.7131, allocations: 21.69 kB / 0.773 GB, free: 76.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.7131, allocations: 8.406 kB / 0.773 GB, free: 76.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.7287, allocations: 7.422 MB / 0.7802 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.7287, allocations: 0 / 0.7802 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.7304, allocations: 347.8 kB / 0.7806 GB, free: 73.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00572/0.7361, allocations: 1.716 MB / 0.7823 GB, free: 72.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.7363, allocations: 43.28 kB / 0.7823 GB, free: 72.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/0.7579, allocations: 23.32 MB / 0.8051 GB, free: 51.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7579, allocations: 4 kB / 0.8051 GB, free: 51.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.7691, allocations: 4.9 MB / 0.8099 GB, free: 46.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.7702, allocations: 0.4997 MB / 0.8103 GB, free: 45.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.7705, allocations: 24 kB / 0.8104 GB, free: 45.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/0.7726, allocations: 319.5 kB / 0.8107 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.7731, allocations: 149 kB / 0.8108 GB, free: 45.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.7732, allocations: 59.95 kB / 0.8109 GB, free: 45.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008525/0.7741, allocations: 0.786 MB / 0.8116 GB, free: 44.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7741, allocations: 0 / 0.8116 GB, free: 44.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002015/0.7761, allocations: 0.6562 MB / 0.8123 GB, free: 43.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01111/0.7872, allocations: 5.483 MB / 0.8176 GB, free: 38.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01049/0.7977, allocations: 5.165 MB / 0.8227 GB, free: 32.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.7978, allocations: 0 / 0.8227 GB, free: 32.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006368/0.8041, allocations: 3.373 MB / 0.826 GB, free: 29.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.8066, allocations: 0.5525 MB / 0.8265 GB, free: 28.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/0.847, allocations: 21.92 MB / 0.8479 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.848, allocations: 1.564 MB / 0.8494 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001299/0.8493, allocations: 393.6 kB / 0.8498 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.8501, allocations: 0.6554 MB / 0.8505 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.8501, allocations: 1.312 kB / 0.8505 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/0.9812, allocations: 58.72 MB / 0.9078 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/20.4, allocations: 4 kB / 0.9078 GB, free: 9.859 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)