Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.000762/0.0007623, allocations: 92.47 kB / 15.7 MB, free: 472 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.0008027/0.0008027, allocations: 166.6 kB / 16.58 MB, free: 6.066 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.236/1.236, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6493/0.6493, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 16.2 kB / 493.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005776/0.162, allocations: 5.438 MB / 0.5622 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.1662, allocations: 2.975 MB / 0.5651 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.1667, allocations: 23.81 kB / 0.5651 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.167, allocations: 126.9 kB / 0.5653 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008426/0.1679, allocations: 382 kB / 0.5656 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.1688, allocations: 376.9 kB / 0.566 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.1699, allocations: 1.213 MB / 0.5672 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.1713, allocations: 0.9023 MB / 0.5681 GB, free: 152 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.1719, allocations: 358.6 kB / 0.5684 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.1723, allocations: 434.3 kB / 0.5688 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.1724, allocations: 35.94 kB / 0.5688 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.1729, allocations: 263.5 kB / 0.5691 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1732, allocations: 251.3 kB / 0.5693 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1733, allocations: 169.2 kB / 0.5695 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.1741, allocations: 0.8691 MB / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1741, allocations: 0 / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1741, allocations: 0 / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1741, allocations: 3.938 kB / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001194/0.1753, allocations: 0.9309 MB / 0.5713 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1753, allocations: 8.031 kB / 0.5713 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.1755, allocations: 118.5 kB / 0.5714 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.1767, allocations: 218.8 kB / 0.5716 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.1774, allocations: 0.5288 MB / 0.5721 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.1775, allocations: 45.3 kB / 0.5721 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.294e-05/0.1776, allocations: 71.91 kB / 0.5722 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1789, allocations: 1.026 MB / 0.5732 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.1789, allocations: 15.84 kB / 0.5732 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.179, allocations: 27.98 kB / 0.5733 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.1791, allocations: 65.28 kB / 0.5733 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009676/0.1801, allocations: 0.684 MB / 0.574 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.1848, allocations: 5.757 MB / 0.5796 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.1856, allocations: 0.6064 MB / 0.5802 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.1863, allocations: 409.3 kB / 0.5806 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1864, allocations: 7.953 kB / 0.5806 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1864, allocations: 42.5 kB / 0.5806 GB, free: 2.547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.1864, allocations: 4 kB / 0.5806 GB, free: 2.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003891/0.1903, allocations: 2.061 MB / 0.5827 GB, free: 396 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1904, allocations: 55.41 kB / 0.5827 GB, free: 328 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2997/0.4901, allocations: 453.6 kB / 0.5831 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.4903, allocations: 32.45 kB / 0.5832 GB, free: 33.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.4907, allocations: 385.8 kB / 0.5835 GB, free: 32.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.491, allocations: 151.6 kB / 0.5837 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.491, allocations: 10.78 kB / 0.5837 GB, free: 32.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4912, allocations: 369.6 kB / 0.584 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.4917, allocations: 244.9 kB / 0.5843 GB, free: 32.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.4924, allocations: 452.3 kB / 0.5847 GB, free: 32.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.4929, allocations: 309.1 kB / 0.585 GB, free: 32.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.493, allocations: 3.406 kB / 0.585 GB, free: 32.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002515/0.4955, allocations: 1.062 MB / 0.586 GB, free: 32.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.4956, allocations: 7.688 kB / 0.5861 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4956, allocations: 12.17 kB / 0.5861 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.4968, allocations: 328.5 kB / 0.5864 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.4972, allocations: 102.8 kB / 0.5865 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007057/0.5042, allocations: 6.932 MB / 0.5932 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.5049, allocations: 30.28 kB / 0.5933 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.505, allocations: 26.8 kB / 0.5933 GB, free: 26.23 MB / 446.1 MB 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.5054, allocations: 245.6 kB / 0.5935 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.5056, allocations: 59.83 kB / 0.5936 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.5076, allocations: 0.9177 MB / 0.5945 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5076, allocations: 4.719 kB / 0.5945 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5076, allocations: 4.125 kB / 0.5945 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.5076, allocations: 2.812 kB / 0.5945 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.5109, allocations: 1.711 MB / 0.5962 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.511, allocations: 1.125 kB / 0.5962 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.5112, allocations: 46.75 kB / 0.5962 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009759/0.5121, allocations: 324.2 kB / 0.5965 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.5122, allocations: 11.44 kB / 0.5965 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.5189, allocations: 6.934 MB / 0.6033 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5189, allocations: 2.922 kB / 0.6033 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.5209, allocations: 1.003 MB / 0.6043 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.5212, allocations: 179.7 kB / 0.6045 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.5213, allocations: 8.156 kB / 0.6045 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.5216, allocations: 20.75 kB / 0.6045 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5217, allocations: 51.36 kB / 0.6045 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.5218, allocations: 15.81 kB / 0.6046 GB, free: 18.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.5222, allocations: 310.2 kB / 0.6048 GB, free: 17.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5222, allocations: 0.9062 kB / 0.6049 GB, free: 17.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001007/0.5232, allocations: 194.5 kB / 0.605 GB, free: 17.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/0.5254, allocations: 1.553 MB / 0.6066 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.5276, allocations: 1.197 MB / 0.6077 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5276, allocations: 5.312 kB / 0.6077 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.5289, allocations: 0.8628 MB / 0.6086 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5301, allocations: 191.8 kB / 0.6088 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/0.5372, allocations: 4.009 MB / 0.6127 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.538, allocations: 0.9969 MB / 0.6136 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.5385, allocations: 100.2 kB / 0.6137 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.5388, allocations: 223.5 kB / 0.6139 GB, free: 12.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.113e-06/0.5388, allocations: 4 kB / 0.614 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.5734, allocations: 14.58 MB / 0.6282 GB, free: 4.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.5736, allocations: 229 kB / 0.6284 GB, free: 4.684 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.44, allocations: 0 / 0.6284 GB, free: 4.684 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: