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.001051/0.001051, allocations: 107.7 kB / 15.99 MB, free: 6.352 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.001127/0.001127, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.3 MB / 406.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.89 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3616, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03159/0.3932, allocations: 34.8 MB / 0.59 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.4098, allocations: 9.846 MB / 0.5996 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0045/0.4143, allocations: 133.8 kB / 0.5998 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00848/0.4229, allocations: 3.563 MB / 0.6032 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.4288, allocations: 1.88 MB / 0.6051 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.4338, allocations: 1.789 MB / 0.6068 GB, free: 116 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.444, allocations: 7.996 MB / 0.6146 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01768/0.4617, allocations: 11.7 MB / 0.6261 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005412/0.4671, allocations: 3.427 MB / 0.6294 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005927/0.4731, allocations: 3.898 MB / 0.6332 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00204/0.4751, allocations: 0.6797 MB / 0.6339 GB, free: 4.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.4791, allocations: 1.447 MB / 0.6353 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003659/0.4828, allocations: 2.62 MB / 0.6378 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005424/0.4882, allocations: 3.101 MB / 0.6409 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.4984, allocations: 10.39 MB / 0.651 GB, free: 3.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4984, allocations: 0 / 0.651 GB, free: 3.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4984, allocations: 0 / 0.651 GB, free: 3.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002568/0.4987, allocations: 0 / 0.651 GB, free: 3.09 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01122/0.5099, allocations: 5.405 MB / 0.6563 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.51, allocations: 8.031 kB / 0.6563 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009926/0.511, allocations: 0.6984 MB / 0.657 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.5156, allocations: 0.9626 MB / 0.6579 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/0.5209, allocations: 2.999 MB / 0.6609 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.5212, allocations: 361.9 kB / 0.6612 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007029/0.5219, allocations: 460.3 kB / 0.6616 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.5354, allocations: 7.906 MB / 0.6694 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.5356, allocations: 27.7 kB / 0.6694 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006888/0.5363, allocations: 208 kB / 0.6696 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005176/0.5368, allocations: 365.1 kB / 0.6699 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.5477, allocations: 5.945 MB / 0.6757 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/0.5892, allocations: 36.21 MB / 0.7111 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.5926, allocations: 2.138 MB / 0.7132 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.5946, allocations: 1.478 MB / 0.7146 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.5948, allocations: 21.31 kB / 0.7146 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.5948, allocations: 59.81 kB / 0.7147 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.286e-06/0.5948, allocations: 0 / 0.7147 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01416/0.609, allocations: 7.54 MB / 0.7221 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.6091, allocations: 68.72 kB / 0.7221 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/0.6122, allocations: 1.864 MB / 0.724 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.6124, allocations: 57.7 kB / 0.724 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.6138, allocations: 2.123 MB / 0.7261 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/0.6143, allocations: 0.5507 MB / 0.7266 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.615, allocations: 407.7 kB / 0.727 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.6151, allocations: 305.1 kB / 0.7273 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.6167, allocations: 1.062 MB / 0.7283 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.6188, allocations: 1.756 MB / 0.7301 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.6227, allocations: 3.049 MB / 0.733 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.6227, allocations: 4 kB / 0.733 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006508/0.6292, allocations: 3.925 MB / 0.7369 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.6293, allocations: 17.56 kB / 0.7369 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.6293, allocations: 24 kB / 0.7369 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.6317, allocations: 0.9314 MB / 0.7378 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.6332, allocations: 435.2 kB / 0.7382 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2434/0.8766, allocations: 22.77 MB / 0.7605 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.8788, allocations: 125.4 kB / 0.7606 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.879, allocations: 92.55 kB / 0.7607 GB, free: 141.3 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.002772/0.8818, allocations: 1.646 MB / 0.7623 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/0.8825, allocations: 262.1 kB / 0.7625 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.8883, allocations: 3.262 MB / 0.7657 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.8884, allocations: 20.88 kB / 0.7657 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.8884, allocations: 9.219 kB / 0.7657 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.8884, allocations: 7.734 kB / 0.7658 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.9005, allocations: 7.551 MB / 0.7731 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.9006, allocations: 4.672 kB / 0.7731 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/0.9015, allocations: 215.8 kB / 0.7733 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/0.9037, allocations: 0.9024 MB / 0.7742 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.9038, allocations: 35.17 kB / 0.7743 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/0.9205, allocations: 22.72 MB / 0.7964 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.9206, allocations: 5.469 kB / 0.7964 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/0.926, allocations: 3.385 MB / 0.7998 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.9273, allocations: 0.5328 MB / 0.8003 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006452/0.9279, allocations: 35.88 kB / 0.8003 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.9293, allocations: 95.23 kB / 0.8004 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/0.9298, allocations: 138.5 kB / 0.8005 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.9299, allocations: 47.03 kB / 0.8006 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002459/0.9324, allocations: 1.223 MB / 0.8018 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.353e-06/0.9324, allocations: 0 / 0.8018 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003685/0.9361, allocations: 0.9132 MB / 0.8027 GB, free: 114 MB / 0.5762 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.005019/0.9411, allocations: 3.988 MB / 0.8066 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00689/0.948, allocations: 5.208 MB / 0.8116 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.948, allocations: 7.812 kB / 0.8116 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.9513, allocations: 2.989 MB / 0.8146 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/0.955, allocations: 0.8206 MB / 0.8154 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.995, allocations: 29.51 MB / 0.8442 GB, free: 74.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004102/0.9991, allocations: 3.205 MB / 0.8473 GB, free: 70.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001905/1.001, allocations: 0.5176 MB / 0.8478 GB, free: 70.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.003, allocations: 1.659 MB / 0.8494 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.003, allocations: 4 kB / 0.8494 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.114, allocations: 70.95 MB / 0.9187 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/1.115, allocations: 244.9 kB / 0.919 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.338, allocations: 0 / 0.919 GB, free: 14.25 MB / 0.5919 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)