Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.001324/0.001324, allocations: 107.9 kB / 16.4 MB, free: 6.492 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.001406/0.001407, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.62 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1552, allocations: 76.19 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007148/0.1624, allocations: 5.439 MB / 0.6369 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.1674, allocations: 2.63 MB / 0.6395 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.1681, allocations: 23.88 kB / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.1701, allocations: 0.6794 MB / 0.6402 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1714, allocations: 409.7 kB / 0.6405 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1725, allocations: 391.1 kB / 0.6409 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.1738, allocations: 0.9513 MB / 0.6419 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.1745, allocations: 469.8 kB / 0.6423 GB, free: 9.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.1752, allocations: 374.6 kB / 0.6427 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.1759, allocations: 410.3 kB / 0.643 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1761, allocations: 52 kB / 0.6431 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.1768, allocations: 355.3 kB / 0.6434 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.1771, allocations: 255.3 kB / 0.6437 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.1775, allocations: 342.2 kB / 0.644 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.179, allocations: 0.9776 MB / 0.645 GB, free: 7.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.179, allocations: 0 / 0.645 GB, free: 7.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.179, allocations: 0 / 0.645 GB, free: 7.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.179, allocations: 0 / 0.645 GB, free: 7.191 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001816/0.1808, allocations: 0.9737 MB / 0.6459 GB, free: 6.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1809, allocations: 12.03 kB / 0.6459 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.181, allocations: 98.69 kB / 0.646 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.1824, allocations: 195.8 kB / 0.6462 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.1834, allocations: 0.5141 MB / 0.6467 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1835, allocations: 37.36 kB / 0.6467 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.1836, allocations: 64.38 kB / 0.6468 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.1848, allocations: 0.8278 MB / 0.6476 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.1849, allocations: 3.938 kB / 0.6476 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.1849, allocations: 27.98 kB / 0.6476 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.1851, allocations: 60.95 kB / 0.6477 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.186, allocations: 0.5775 MB / 0.6483 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.1907, allocations: 4.569 MB / 0.6527 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1912, allocations: 295.2 kB / 0.653 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.1915, allocations: 233.3 kB / 0.6532 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1915, allocations: 4.281 kB / 0.6532 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1916, allocations: 34.84 kB / 0.6533 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.1916, allocations: 0 / 0.6533 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005561/0.1971, allocations: 2.619 MB / 0.6558 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1972, allocations: 55.41 kB / 0.6559 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.1977, allocations: 465.9 kB / 0.6563 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.1978, allocations: 33.7 kB / 0.6564 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.198, allocations: 335.7 kB / 0.6567 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.1981, allocations: 145.9 kB / 0.6568 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.1983, allocations: 106.2 kB / 0.6569 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1985, allocations: 358.8 kB / 0.6573 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.1988, allocations: 237 kB / 0.6575 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.1993, allocations: 414.4 kB / 0.6579 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008565/0.2001, allocations: 0.674 MB / 0.6585 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2002, allocations: 0 / 0.6585 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/0.2019, allocations: 0.9207 MB / 0.6594 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.202, allocations: 8.656 kB / 0.6594 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.202, allocations: 11.94 kB / 0.6595 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/0.2028, allocations: 218.4 kB / 0.6597 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.2034, allocations: 119.8 kB / 0.6598 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/0.2094, allocations: 5.343 MB / 0.665 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.2099, allocations: 27.97 kB / 0.665 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.21, allocations: 28 kB / 0.665 GB, free: 1.289 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.000354/0.2104, allocations: 229.1 kB / 0.6653 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.2105, allocations: 59.28 kB / 0.6653 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.2121, allocations: 0.7735 MB / 0.6661 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2122, allocations: 7.984 kB / 0.6661 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2122, allocations: 4 kB / 0.6661 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2122, allocations: 4 kB / 0.6661 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.2149, allocations: 1.494 MB / 0.6676 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2149, allocations: 0 / 0.6676 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.2153, allocations: 75.81 kB / 0.6676 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006764/0.216, allocations: 202.6 kB / 0.6678 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.216, allocations: 12 kB / 0.6678 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.2213, allocations: 5.274 MB / 0.673 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2214, allocations: 0 / 0.673 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2232, allocations: 1.135 MB / 0.6741 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.2235, allocations: 172.3 kB / 0.6743 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.2236, allocations: 11.98 kB / 0.6743 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.2239, allocations: 23.97 kB / 0.6743 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.224, allocations: 43.95 kB / 0.6743 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.2241, allocations: 8 kB / 0.6743 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004363/0.2245, allocations: 310.9 kB / 0.6746 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2245, allocations: 4 kB / 0.6746 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000724/0.2252, allocations: 164 kB / 0.6748 GB, free: 6.699 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002021/0.2273, allocations: 1.696 MB / 0.6765 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.229, allocations: 1.02 MB / 0.6774 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.229, allocations: 0 / 0.6774 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.23, allocations: 0.672 MB / 0.6781 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008933/0.2309, allocations: 189.7 kB / 0.6783 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/0.2386, allocations: 5.611 MB / 0.6838 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.2391, allocations: 0.9455 MB / 0.6847 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.2395, allocations: 117 kB / 0.6848 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.2398, allocations: 207.4 kB / 0.685 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.2398, allocations: 0 / 0.685 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.2841, allocations: 14.35 MB / 0.699 GB, free: 13.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.08, allocations: 10.42 kB / 0.699 GB, free: 13.69 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)