Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.0008581/0.0008584, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 184 kB / 16.92 MB, free: 6.754 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.264/1.264, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.659/0.659, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 12 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 77.53 MB / 0.5601 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3537/0.5, allocations: 33.95 MB / 0.5932 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.5187, allocations: 9.838 MB / 0.6028 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00386/0.5226, allocations: 122.7 kB / 0.6029 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.5248, allocations: 0.7029 MB / 0.6036 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.5311, allocations: 1.913 MB / 0.6055 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.5357, allocations: 1.606 MB / 0.6071 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01361/0.5494, allocations: 11.2 MB / 0.618 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01691/0.5663, allocations: 12.16 MB / 0.6299 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/0.5711, allocations: 2.409 MB / 0.6322 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005274/0.5764, allocations: 3.215 MB / 0.6354 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008591/0.5773, allocations: 284 kB / 0.6356 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.5806, allocations: 1.263 MB / 0.6369 GB, free: 8.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.5828, allocations: 2.104 MB / 0.6389 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003377/0.5862, allocations: 2.524 MB / 0.6414 GB, free: 3.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.5982, allocations: 9.862 MB / 0.651 GB, free: 9.512 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5983, allocations: 8 kB / 0.651 GB, free: 9.504 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5983, allocations: 0 / 0.651 GB, free: 9.504 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002942/0.5986, allocations: 0 / 0.651 GB, free: 9.504 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008669/0.6072, allocations: 4.356 MB / 0.6553 GB, free: 5.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6073, allocations: 12.03 kB / 0.6553 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00119/0.6085, allocations: 0.6945 MB / 0.656 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.6129, allocations: 0.9665 MB / 0.6569 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.6174, allocations: 2.995 MB / 0.6598 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.6176, allocations: 362 kB / 0.6602 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006745/0.6183, allocations: 464.3 kB / 0.6606 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.6307, allocations: 7.914 MB / 0.6683 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.6308, allocations: 27.72 kB / 0.6684 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.6313, allocations: 212 kB / 0.6686 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005022/0.6318, allocations: 369.1 kB / 0.6689 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009609/0.6414, allocations: 5.933 MB / 0.6747 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/0.6771, allocations: 36.26 MB / 0.7101 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.6807, allocations: 2.131 MB / 0.7122 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.6829, allocations: 1.489 MB / 0.7137 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.683, allocations: 13.31 kB / 0.7137 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.6831, allocations: 55.81 kB / 0.7137 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 3.076e-06/0.6831, allocations: 0 / 0.7137 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.01396/0.697, allocations: 7.572 MB / 0.7211 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.6971, allocations: 68.72 kB / 0.7212 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.6999, allocations: 1.86 MB / 0.723 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.7, allocations: 57.64 kB / 0.7231 GB, free: 11.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.7014, allocations: 2.127 MB / 0.7251 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000484/0.7019, allocations: 0.5545 MB / 0.7257 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.7022, allocations: 182.1 kB / 0.7259 GB, free: 8.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.7022, allocations: 305.1 kB / 0.7261 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.7038, allocations: 1.062 MB / 0.7272 GB, free: 7.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.7058, allocations: 1.76 MB / 0.7289 GB, free: 5.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.7096, allocations: 3.052 MB / 0.7319 GB, free: 1.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.7096, allocations: 4 kB / 0.7319 GB, free: 1.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006358/0.716, allocations: 3.932 MB / 0.7357 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.716, allocations: 14.03 kB / 0.7357 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.7161, allocations: 24 kB / 0.7358 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.7185, allocations: 0.9238 MB / 0.7367 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.72, allocations: 427.2 kB / 0.7371 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.7399, allocations: 21.07 MB / 0.7576 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.7423, allocations: 135.9 kB / 0.7578 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/0.7427, allocations: 92 kB / 0.7579 GB, free: 5.621 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003306/0.746, allocations: 1.645 MB / 0.7595 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/0.7467, allocations: 257 kB / 0.7597 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/0.7526, allocations: 3.264 MB / 0.7629 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.7526, allocations: 16 kB / 0.7629 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/0.7526, allocations: 12 kB / 0.7629 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.7527, allocations: 11.91 kB / 0.7629 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.7658, allocations: 7.556 MB / 0.7703 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.7658, allocations: 4 kB / 0.7703 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/0.7668, allocations: 219.6 kB / 0.7705 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.7691, allocations: 0.8926 MB / 0.7714 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.7692, allocations: 32 kB / 0.7714 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.788, allocations: 21.04 MB / 0.792 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.788, allocations: 4 kB / 0.792 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005775/0.7938, allocations: 3.391 MB / 0.7953 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.795, allocations: 0.5254 MB / 0.7958 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/0.7955, allocations: 35.98 kB / 0.7958 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.797, allocations: 87.89 kB / 0.7959 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.7974, allocations: 141 kB / 0.7961 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.7975, allocations: 48 kB / 0.7961 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002194/0.7997, allocations: 1.221 MB / 0.7973 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7997, allocations: 7.938 kB / 0.7973 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003439/0.8032, allocations: 0.9062 MB / 0.7982 GB, free: 10.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005911/0.8091, allocations: 3.987 MB / 0.8021 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006557/0.8157, allocations: 4.42 MB / 0.8064 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.8157, allocations: 0 / 0.8064 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004154/0.8199, allocations: 2.996 MB / 0.8093 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/0.8254, allocations: 0.7717 MB / 0.8101 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3273/1.153, allocations: 29.51 MB / 0.8389 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004027/1.157, allocations: 3.202 MB / 0.842 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002182/1.159, allocations: 0.5275 MB / 0.8425 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.161, allocations: 1.653 MB / 0.8442 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of SimCode: time 2.415e-06/1.161, allocations: 0 / 0.8442 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08534/1.246, allocations: 68.28 MB / 0.9108 GB, free: 149.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.246, allocations: 238.4 kB / 0.9111 GB, free: 149 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/4.412, allocations: 2.25 kB / 0.9111 GB, free: 149 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)