Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.0007841/0.0007842, allocations: 93.27 kB / 16.02 MB, free: 84 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.0008445/0.0008446, allocations: 179.4 kB / 16.92 MB, free: 6.68 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.704/0.704, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 496 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 77.53 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3062/0.4563, allocations: 36.34 MB / 0.5955 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.4769, allocations: 12.91 MB / 0.6082 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004066/0.481, allocations: 145.4 kB / 0.6083 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.4837, allocations: 0.7605 MB / 0.609 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007387/0.4911, allocations: 2.356 MB / 0.6113 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006745/0.4979, allocations: 2.289 MB / 0.6136 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0173/0.5152, allocations: 13.37 MB / 0.6266 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02231/0.5376, allocations: 13.21 MB / 0.6395 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.544, allocations: 2.941 MB / 0.6424 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006854/0.5509, allocations: 3.865 MB / 0.6462 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.5524, allocations: 320 kB / 0.6465 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/0.5573, allocations: 1.626 MB / 0.6481 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003577/0.5609, allocations: 2.474 MB / 0.6505 GB, free: 9.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00551/0.5664, allocations: 2.948 MB / 0.6534 GB, free: 6.879 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.5793, allocations: 11.29 MB / 0.6644 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.5793, allocations: 0 / 0.6644 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5794, allocations: 3.938 kB / 0.6644 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002815/0.5796, allocations: 0 / 0.6644 GB, free: 11.55 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01211/0.5918, allocations: 5.138 MB / 0.6694 GB, free: 6.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5918, allocations: 8.031 kB / 0.6694 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001844/0.5937, allocations: 0.748 MB / 0.6702 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008429/0.6021, allocations: 1.309 MB / 0.6714 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006967/0.6091, allocations: 3.568 MB / 0.6749 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.6095, allocations: 382.5 kB / 0.6753 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.6109, allocations: 0.4963 MB / 0.6758 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.6297, allocations: 8.882 MB / 0.6844 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003247/0.6301, allocations: 31.62 kB / 0.6845 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/0.6316, allocations: 227.9 kB / 0.6847 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002317/0.6339, allocations: 0.6304 MB / 0.6853 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.6476, allocations: 7.01 MB / 0.6921 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0505/0.6981, allocations: 40.42 MB / 0.7316 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/0.703, allocations: 2.9 MB / 0.7345 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/0.7072, allocations: 2.663 MB / 0.7371 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.7075, allocations: 26.09 kB / 0.7371 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.7076, allocations: 72.58 kB / 0.7371 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=265): time 4.698e-06/0.7076, allocations: 0 / 0.7371 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=424): time 0.2998/1.007, allocations: 77.51 MB / 0.8128 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/1.007, allocations: 94.73 kB / 0.8129 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003722/1.011, allocations: 2.359 MB / 0.8152 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007685/1.012, allocations: 97.7 kB / 0.8153 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/1.014, allocations: 2.337 MB / 0.8176 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/1.016, allocations: 1.44 MB / 0.819 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009699/1.017, allocations: 343 kB / 0.8193 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.017, allocations: 301.1 kB / 0.8196 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005182/1.022, allocations: 3.003 MB / 0.8226 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006006/1.028, allocations: 3.843 MB / 0.8263 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.28/1.308, allocations: 7.379 MB / 0.8335 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/1.308, allocations: 6.094 kB / 0.8335 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02872/1.337, allocations: 12.56 MB / 0.8458 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.337, allocations: 14.66 kB / 0.8458 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/1.337, allocations: 24.77 kB / 0.8458 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02246/1.36, allocations: 6.028 MB / 0.8517 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.362, allocations: 495.8 kB / 0.8522 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06294/1.425, allocations: 67.28 MB / 0.9179 GB, free: 146.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/1.429, allocations: 219.8 kB / 0.9181 GB, free: 146.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004465/1.429, allocations: 160 kB / 0.9182 GB, free: 146.6 MB / 0.6387 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003033/1.432, allocations: 1.987 MB / 0.9202 GB, free: 144.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007335/1.433, allocations: 391.4 kB / 0.9206 GB, free: 144.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/1.458, allocations: 12.23 MB / 0.9325 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.458, allocations: 40 kB / 0.9325 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001534/1.458, allocations: 48 kB / 0.9326 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.061e-05/1.458, allocations: 31.84 kB / 0.9326 GB, free: 131.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03333/1.491, allocations: 19.15 MB / 0.9513 GB, free: 112.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/1.491, allocations: 8 kB / 0.9513 GB, free: 112.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.493, allocations: 283.6 kB / 0.9516 GB, free: 112.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01953/1.513, allocations: 5.585 MB / 0.9571 GB, free: 106.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007037/1.513, allocations: 84 kB / 0.9571 GB, free: 106.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06137/1.575, allocations: 64.92 MB / 1.021 GB, free: 38.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.575, allocations: 11.94 kB / 1.021 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02808/1.603, allocations: 15.61 MB / 1.036 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/1.606, allocations: 1.047 MB / 1.037 GB, free: 21.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007295/1.606, allocations: 79.98 kB / 1.037 GB, free: 21.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.609, allocations: 219.7 kB / 1.037 GB, free: 21.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/1.61, allocations: 410.2 kB / 1.037 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/1.611, allocations: 108 kB / 1.038 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001781/1.613, allocations: 1.556 MB / 1.039 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/1.613, allocations: 0 / 1.039 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005383/1.618, allocations: 1.859 MB / 1.041 GB, free: 17.18 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02724/1.645, allocations: 16.3 MB / 1.057 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02081/1.666, allocations: 12.19 MB / 1.069 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.666, allocations: 4 kB / 1.069 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.2607/1.927, allocations: 8.383 MB / 1.077 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008604/1.935, allocations: 1.102 MB / 1.078 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1138/2.049, allocations: 62.76 MB / 1.139 GB, free: 171.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004293/2.054, allocations: 4.09 MB / 1.143 GB, free: 170.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002796/2.056, allocations: 0.6662 MB / 1.144 GB, free: 170.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/2.059, allocations: 2.123 MB / 1.146 GB, free: 168.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/2.059, allocations: 0 / 1.146 GB, free: 168.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2312/2.29, allocations: 144.3 MB / 1.287 GB, free: 27.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/2.29, allocations: 250.3 kB / 1.287 GB, free: 26.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.006/7.296, allocations: 4 kB / 1.287 GB, free: 26.97 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)