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.0008517/0.0008516, allocations: 92.2 kB / 16.03 MB, free: 56 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.0009418/0.0009417, allocations: 185.3 kB / 16.93 MB, free: 6.891 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6651/0.6651, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 13.56 kB / 496 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 77.52 MB / 0.5601 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006371/0.1503, allocations: 5.728 MB / 0.5657 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.155, allocations: 3.138 MB / 0.5687 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.1555, allocations: 23.81 kB / 0.5687 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1559, allocations: 122.9 kB / 0.5689 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1574, allocations: 442 kB / 0.5693 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.1588, allocations: 466.4 kB / 0.5697 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.1608, allocations: 1.471 MB / 0.5712 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.1625, allocations: 0.9922 MB / 0.5721 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006664/0.1632, allocations: 366.3 kB / 0.5725 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.1638, allocations: 442.2 kB / 0.5729 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.1639, allocations: 31.94 kB / 0.5729 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008787/0.1648, allocations: 0.5653 MB / 0.5735 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.165, allocations: 259.3 kB / 0.5737 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.1654, allocations: 379.6 kB / 0.5741 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.1665, allocations: 1.168 MB / 0.5752 GB, free: 9.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1665, allocations: 0 / 0.5752 GB, free: 9.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1665, allocations: 4 kB / 0.5752 GB, free: 9.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1665, allocations: 3.938 kB / 0.5752 GB, free: 9.273 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.00123/0.1678, allocations: 0.9155 MB / 0.5761 GB, free: 8.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1678, allocations: 12.03 kB / 0.5761 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.1679, allocations: 114.7 kB / 0.5763 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.1693, allocations: 223.7 kB / 0.5765 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.17, allocations: 0.5414 MB / 0.577 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.17, allocations: 53.67 kB / 0.577 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/0.1701, allocations: 60.31 kB / 0.5771 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.1714, allocations: 1.034 MB / 0.5781 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.1715, allocations: 11.84 kB / 0.5781 GB, free: 6.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.1715, allocations: 28 kB / 0.5782 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.1716, allocations: 69.27 kB / 0.5782 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.1726, allocations: 0.6918 MB / 0.5789 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2596/0.4322, allocations: 5.762 MB / 0.5845 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.4331, allocations: 0.5968 MB / 0.5851 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/0.4339, allocations: 413.5 kB / 0.5855 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.434, allocations: 4.641 kB / 0.5855 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.434, allocations: 38.88 kB / 0.5855 GB, free: 27.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.574e-06/0.434, allocations: 0 / 0.5855 GB, free: 27.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004629/0.4386, allocations: 2.076 MB / 0.5876 GB, free: 26.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.4387, allocations: 55.75 kB / 0.5876 GB, free: 26.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.4392, allocations: 464.1 kB / 0.5881 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4393, allocations: 31.58 kB / 0.5881 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.4395, allocations: 390 kB / 0.5885 GB, free: 26.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4396, allocations: 152.6 kB / 0.5886 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.4397, allocations: 52.67 kB / 0.5887 GB, free: 26.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.4398, allocations: 368.3 kB / 0.589 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.4402, allocations: 246.1 kB / 0.5892 GB, free: 25.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.4406, allocations: 463.1 kB / 0.5897 GB, free: 25.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.4416, allocations: 0.7537 MB / 0.5904 GB, free: 25.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4416, allocations: 3.219 kB / 0.5904 GB, free: 25.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001921/0.4435, allocations: 1.058 MB / 0.5915 GB, free: 24.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4435, allocations: 13 kB / 0.5915 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.4435, allocations: 7.656 kB / 0.5915 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.4446, allocations: 328.5 kB / 0.5918 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.4449, allocations: 98.11 kB / 0.5919 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.4507, allocations: 6.949 MB / 0.5987 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.4512, allocations: 29.3 kB / 0.5987 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.4512, allocations: 30.23 kB / 0.5987 GB, free: 18.57 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 (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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003442/0.4516, allocations: 248 kB / 0.599 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.4517, allocations: 63 kB / 0.599 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.4535, allocations: 0.917 MB / 0.5999 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4536, allocations: 4.031 kB / 0.5999 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4536, allocations: 4.094 kB / 0.5999 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4536, allocations: 2.344 kB / 0.5999 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.4571, allocations: 1.708 MB / 0.6016 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4571, allocations: 1.406 kB / 0.6016 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.4573, allocations: 46.39 kB / 0.6016 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009633/0.4583, allocations: 328.9 kB / 0.602 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.4583, allocations: 7.781 kB / 0.602 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006019/0.4643, allocations: 6.939 MB / 0.6087 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4644, allocations: 5.094 kB / 0.6087 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.4661, allocations: 1.005 MB / 0.6097 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.4664, allocations: 175.9 kB / 0.6099 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4665, allocations: 12.03 kB / 0.6099 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.4668, allocations: 24.22 kB / 0.6099 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.467, allocations: 43.72 kB / 0.61 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.467, allocations: 15.84 kB / 0.61 GB, free: 10.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.4674, allocations: 312.1 kB / 0.6103 GB, free: 10.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4674, allocations: 0 / 0.6103 GB, free: 10.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4685, allocations: 194.8 kB / 0.6105 GB, free: 10.24 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 (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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/0.4703, allocations: 1.579 MB / 0.612 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.4722, allocations: 1.199 MB / 0.6132 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4722, allocations: 0 / 0.6132 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.4733, allocations: 0.8749 MB / 0.614 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4745, allocations: 184.4 kB / 0.6142 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/0.4831, allocations: 6.285 MB / 0.6204 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.4837, allocations: 0.9973 MB / 0.6213 GB, free: 3.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.4841, allocations: 102 kB / 0.6214 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.4844, allocations: 232.2 kB / 0.6216 GB, free: 2.902 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4844, allocations: 0 / 0.6216 GB, free: 2.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.5149, allocations: 14.54 MB / 0.6358 GB, free: 8.996 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.5151, allocations: 245.9 kB / 0.6361 GB, free: 8.734 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.367, allocations: 2.125 kB / 0.6361 GB, free: 8.734 MB / 462.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/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)