Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001082/0.001082, allocations: 101.5 kB / 16.27 MB, free: 5.93 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.001167/0.001167, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.253/1.253, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7018/0.7018, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 77.92 MB / 0.5673 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03068/0.3236, allocations: 34.82 MB / 0.6013 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.339, allocations: 11.51 MB / 0.6125 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/0.3423, allocations: 164.7 kB / 0.6127 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009754/0.3521, allocations: 4.252 MB / 0.6168 GB, free: 8.105 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005823/0.358, allocations: 1.988 MB / 0.6188 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005795/0.3638, allocations: 2.408 MB / 0.6211 GB, free: 3.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009851/0.3736, allocations: 8.461 MB / 0.6294 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.3893, allocations: 11.2 MB / 0.6403 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.3965, allocations: 3.732 MB / 0.644 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007435/0.4039, allocations: 4.175 MB / 0.6481 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002437/0.4064, allocations: 0.7852 MB / 0.6488 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005244/0.4117, allocations: 2.028 MB / 0.6508 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004853/0.4165, allocations: 3.057 MB / 0.6538 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006841/0.4234, allocations: 3.396 MB / 0.6571 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.4388, allocations: 11.92 MB / 0.6687 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4389, allocations: 0 / 0.6687 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4389, allocations: 0 / 0.6687 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004285/0.4393, allocations: 0 / 0.6687 GB, free: 2.777 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01629/0.4556, allocations: 5.791 MB / 0.6744 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.4557, allocations: 8.625 kB / 0.6744 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002396/0.4581, allocations: 0.8089 MB / 0.6752 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006382/0.4645, allocations: 1.064 MB / 0.6762 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005999/0.4705, allocations: 3.255 MB / 0.6794 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.4708, allocations: 423.4 kB / 0.6798 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.4723, allocations: 0.5392 MB / 0.6803 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.4875, allocations: 9.083 MB / 0.6892 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.4877, allocations: 27.78 kB / 0.6892 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005403/0.4882, allocations: 232 kB / 0.6895 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003103/0.4885, allocations: 354.8 kB / 0.6898 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.4996, allocations: 6.83 MB / 0.6965 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03715/0.5368, allocations: 40.11 MB / 0.7356 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5401, allocations: 3.113 MB / 0.7387 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.5424, allocations: 1.962 MB / 0.7406 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.5425, allocations: 25.98 kB / 0.7406 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5425, allocations: 48.56 kB / 0.7407 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.116e-06/0.5425, allocations: 0 / 0.7407 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.2211/0.7636, allocations: 9.98 MB / 0.7504 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.7637, allocations: 71.25 kB / 0.7505 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.7658, allocations: 1.527 MB / 0.752 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7659, allocations: 56.23 kB / 0.752 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009175/0.7669, allocations: 2.255 MB / 0.7542 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.7672, allocations: 0.627 MB / 0.7548 GB, free: 149 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005079/0.7678, allocations: 407.5 kB / 0.7552 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.03e-05/0.7678, allocations: 303 kB / 0.7555 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.7692, allocations: 1.178 MB / 0.7567 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.7709, allocations: 1.887 MB / 0.7585 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.7742, allocations: 3.37 MB / 0.7618 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.7742, allocations: 10.94 kB / 0.7618 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006218/0.7804, allocations: 4.585 MB / 0.7663 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7805, allocations: 17.44 kB / 0.7663 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.7805, allocations: 22.22 kB / 0.7663 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/0.7837, allocations: 1.583 MB / 0.7679 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.7847, allocations: 359.7 kB / 0.7682 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.8017, allocations: 18.6 MB / 0.7864 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.8037, allocations: 116.9 kB / 0.7865 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.8039, allocations: 97.16 kB / 0.7866 GB, free: 130.4 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003055/0.807, allocations: 1.898 MB / 0.7884 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.8074, allocations: 229.8 kB / 0.7887 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/0.8125, allocations: 4.091 MB / 0.7927 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.8126, allocations: 23.98 kB / 0.7927 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.8126, allocations: 16.38 kB / 0.7927 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8126, allocations: 7.969 kB / 0.7927 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.8235, allocations: 9.463 MB / 0.8019 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8236, allocations: 16.03 kB / 0.802 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.8243, allocations: 183.7 kB / 0.8021 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/0.827, allocations: 1.362 MB / 0.8035 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.8271, allocations: 36 kB / 0.8035 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.8419, allocations: 17.36 MB / 0.8204 GB, free: 96.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.842, allocations: 11.94 kB / 0.8205 GB, free: 96.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.847, allocations: 4.065 MB / 0.8244 GB, free: 92.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.8479, allocations: 0.5218 MB / 0.8249 GB, free: 92.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.8481, allocations: 39.94 kB / 0.825 GB, free: 92.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.8489, allocations: 91.89 kB / 0.8251 GB, free: 92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/0.8493, allocations: 161.6 kB / 0.8252 GB, free: 91.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.8494, allocations: 48.11 kB / 0.8253 GB, free: 91.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00094/0.8503, allocations: 1.008 MB / 0.8262 GB, free: 90.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8503, allocations: 0 / 0.8262 GB, free: 90.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002596/0.8529, allocations: 0.9922 MB / 0.8272 GB, free: 89.77 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004907/0.8578, allocations: 4.66 MB / 0.8318 GB, free: 85.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006161/0.864, allocations: 5.196 MB / 0.8368 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.864, allocations: 0 / 0.8368 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003035/0.8671, allocations: 2.666 MB / 0.8394 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.8698, allocations: 0.7785 MB / 0.8402 GB, free: 76.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/0.8992, allocations: 28.66 MB / 0.8682 GB, free: 45.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.9018, allocations: 3.573 MB / 0.8717 GB, free: 42.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001116/0.903, allocations: 459.9 kB / 0.8721 GB, free: 41.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.9042, allocations: 1.788 MB / 0.8739 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.9042, allocations: 0 / 0.8739 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.002/2.906, allocations: 72.44 MB / 0.9446 GB, free: 100 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/17.34, allocations: 9.391 kB / 0.9446 GB, free: 96 kB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)