Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.0008027/0.0008026, allocations: 96.73 kB / 15.68 MB, free: 488 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.0009383/0.0009383, allocations: 175.9 kB / 16.57 MB, free: 6.387 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.315/1.315, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6836/0.6836, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002863, allocations: 13 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3783/0.5357, allocations: 35.71 MB / 0.5916 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.5619, allocations: 14.53 MB / 0.6058 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/0.5671, allocations: 151.1 kB / 0.6059 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.5706, allocations: 0.8394 MB / 0.6068 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.5813, allocations: 2.108 MB / 0.6088 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008393/0.5897, allocations: 1.928 MB / 0.6107 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.6022, allocations: 5.728 MB / 0.6163 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02181/0.624, allocations: 13.98 MB / 0.6299 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007251/0.6313, allocations: 3.162 MB / 0.633 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007431/0.6388, allocations: 3.307 MB / 0.6363 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.6408, allocations: 396 kB / 0.6366 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.645, allocations: 0.7649 MB / 0.6374 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003489/0.6485, allocations: 2.74 MB / 0.6401 GB, free: 4.855 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002788/0.6513, allocations: 1.393 MB / 0.6414 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.6638, allocations: 11.6 MB / 0.6527 GB, free: 7.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6638, allocations: 0 / 0.6527 GB, free: 7.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6638, allocations: 0 / 0.6527 GB, free: 7.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004339/0.6643, allocations: 0 / 0.6527 GB, free: 7.824 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01565/0.6799, allocations: 6.181 MB / 0.6588 GB, free: 1.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.68, allocations: 12.03 kB / 0.6588 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002918/0.6829, allocations: 0.8914 MB / 0.6597 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009845/0.6928, allocations: 1.514 MB / 0.6611 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009725/0.7025, allocations: 4.097 MB / 0.6651 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.7029, allocations: 460.1 kB / 0.6656 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.7046, allocations: 0.5896 MB / 0.6662 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/0.7249, allocations: 10.58 MB / 0.6765 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/0.7251, allocations: 27.78 kB / 0.6765 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.7262, allocations: 267.9 kB / 0.6768 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002669/0.7288, allocations: 0.7768 MB / 0.6775 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.7453, allocations: 8.514 MB / 0.6858 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05646/0.8018, allocations: 46.99 MB / 0.7317 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/0.8068, allocations: 4.307 MB / 0.7359 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.807, allocations: 34.78 kB / 0.736 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.8071, allocations: 77.34 kB / 0.736 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=353): time 4.849e-06/0.8071, allocations: 0 / 0.736 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=578): time 0.6444/1.452, allocations: 127.9 MB / 0.8609 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/1.452, allocations: 111.2 kB / 0.861 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/1.454, allocations: 2.652 MB / 0.8636 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004655/1.455, allocations: 120.3 kB / 0.8637 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.456, allocations: 2.683 MB / 0.8663 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.457, allocations: 1.953 MB / 0.8683 GB, free: 197 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/1.457, allocations: 116.2 kB / 0.8684 GB, free: 197 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.458, allocations: 0.5182 MB / 0.8689 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.462, allocations: 4.066 MB / 0.8728 GB, free: 194.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004379/1.466, allocations: 4.968 MB / 0.8777 GB, free: 191 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/1.471, allocations: 4.825 MB / 0.8824 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.471, allocations: 7.469 kB / 0.8824 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02835/1.499, allocations: 16.92 MB / 0.8989 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.499, allocations: 16 kB / 0.8989 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.499, allocations: 20 kB / 0.899 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02473/1.524, allocations: 9.058 MB / 0.9078 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.526, allocations: 0.5226 MB / 0.9083 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07403/1.6, allocations: 73.69 MB / 0.9803 GB, free: 87.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/1.604, allocations: 275.8 kB / 0.9805 GB, free: 86.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/1.604, allocations: 192 kB / 0.9807 GB, free: 86.57 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003127/1.607, allocations: 2.43 MB / 0.9831 GB, free: 84.13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/1.608, allocations: 470.5 kB / 0.9836 GB, free: 83.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02885/1.637, allocations: 16.75 MB / 0.9999 GB, free: 66.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/1.637, allocations: 52 kB / 1 GB, free: 66.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-05/1.637, allocations: 72 kB / 1 GB, free: 66.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/1.637, allocations: 27.89 kB / 1 GB, free: 66.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/1.675, allocations: 25.63 MB / 1.025 GB, free: 40.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.675, allocations: 9.875 kB / 1.025 GB, free: 40.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.676, allocations: 315.5 kB / 1.025 GB, free: 40.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02289/1.699, allocations: 8.262 MB / 1.033 GB, free: 32.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/1.7, allocations: 108 kB / 1.034 GB, free: 32.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2886/1.988, allocations: 70.51 MB / 1.102 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.988, allocations: 12.75 kB / 1.102 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03184/2.02, allocations: 22.18 MB / 1.124 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002591/2.023, allocations: 1.364 MB / 1.125 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/2.023, allocations: 106.5 kB / 1.126 GB, free: 165.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/2.026, allocations: 290.5 kB / 1.126 GB, free: 165.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/2.027, allocations: 0.5217 MB / 1.126 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/2.028, allocations: 144.9 kB / 1.126 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001774/2.03, allocations: 1.752 MB / 1.128 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/2.03, allocations: 3.594 kB / 1.128 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005313/2.035, allocations: 2.463 MB / 1.131 GB, free: 164.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03081/2.066, allocations: 24.59 MB / 1.155 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01809/2.084, allocations: 14.5 MB / 1.169 GB, free: 128.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.084, allocations: 0 / 1.169 GB, free: 128.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01264/2.097, allocations: 9.375 MB / 1.178 GB, free: 119.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/2.101, allocations: 1.18 MB / 1.179 GB, free: 118.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07202/2.173, allocations: 70.8 MB / 1.248 GB, free: 45.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003916/2.176, allocations: 5.021 MB / 1.253 GB, free: 40.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002262/2.179, allocations: 0.741 MB / 1.254 GB, free: 39.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/2.181, allocations: 2.6 MB / 1.256 GB, free: 36.79 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/2.181, allocations: 0 / 1.256 GB, free: 36.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.821/5.002, allocations: 185.8 MB / 1.438 GB, free: 99.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/5.002, allocations: 219.8 kB / 1.438 GB, free: 98.94 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.839/9.841, allocations: 3.75 kB / 1.438 GB, free: 98.94 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: