Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.004259/0.004259, allocations: 100.9 kB / 15.87 MB, free: 6.312 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.001033/0.001033, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.187/1.187, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6087/0.6087, allocations: 115.3 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.56 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 76.18 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01995/0.1406, allocations: 20.08 MB / 0.5755 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008921/0.1496, allocations: 6.43 MB / 0.5818 GB, free: 132 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.1504, allocations: 79.56 kB / 0.5818 GB, free: 52 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2105/0.3609, allocations: 2.079 MB / 0.5839 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.3639, allocations: 1.114 MB / 0.5849 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.3666, allocations: 1.165 MB / 0.5861 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006422/0.3731, allocations: 6.974 MB / 0.5929 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/0.3803, allocations: 6.173 MB / 0.5989 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.3829, allocations: 1.778 MB / 0.6007 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.3856, allocations: 2.392 MB / 0.603 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.386, allocations: 291.2 kB / 0.6033 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.3878, allocations: 1.029 MB / 0.6043 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.3891, allocations: 1.53 MB / 0.6058 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.3908, allocations: 1.763 MB / 0.6075 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.3956, allocations: 6.405 MB / 0.6137 GB, free: 5.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3956, allocations: 0 / 0.6137 GB, free: 5.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3957, allocations: 0 / 0.6137 GB, free: 5.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.3958, allocations: 0 / 0.6137 GB, free: 5.422 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005311/0.4011, allocations: 3.461 MB / 0.6171 GB, free: 3.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4011, allocations: 9.625 kB / 0.6171 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004997/0.4016, allocations: 455.3 kB / 0.6176 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.4047, allocations: 0.638 MB / 0.6182 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.4072, allocations: 1.934 MB / 0.6201 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.502e-05/0.4073, allocations: 232 kB / 0.6203 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.4076, allocations: 294.9 kB / 0.6206 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006239/0.4139, allocations: 4.888 MB / 0.6254 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.758e-05/0.414, allocations: 15.84 kB / 0.6254 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.4143, allocations: 129.5 kB / 0.6255 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00037/0.4146, allocations: 229.7 kB / 0.6257 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005162/0.4198, allocations: 3.75 MB / 0.6294 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01825/0.4381, allocations: 21.56 MB / 0.6504 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.4397, allocations: 1.317 MB / 0.6517 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.4409, allocations: 1.048 MB / 0.6527 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.441, allocations: 9 kB / 0.6528 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.441, allocations: 43.56 kB / 0.6528 GB, free: 14.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=107): time 2.574e-06/0.441, allocations: 4 kB / 0.6528 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.02139/0.4624, allocations: 8.65 MB / 0.6612 GB, free: 6.223 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4625, allocations: 68.72 kB / 0.6613 GB, free: 6.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.4637, allocations: 1.134 MB / 0.6624 GB, free: 5.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/0.4638, allocations: 45.7 kB / 0.6625 GB, free: 4.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007043/0.4645, allocations: 1.295 MB / 0.6637 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.4648, allocations: 485.5 kB / 0.6642 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/0.4653, allocations: 295.3 kB / 0.6645 GB, free: 2.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.4653, allocations: 305.1 kB / 0.6648 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.4665, allocations: 0.9213 MB / 0.6657 GB, free: 1.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.4679, allocations: 1.318 MB / 0.6669 GB, free: 176 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.4705, allocations: 2.434 MB / 0.6693 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4706, allocations: 4 kB / 0.6693 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005252/0.4758, allocations: 3.46 MB / 0.6727 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4758, allocations: 8 kB / 0.6727 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4759, allocations: 12 kB / 0.6727 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.4788, allocations: 1.188 MB / 0.6739 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/0.4796, allocations: 259.5 kB / 0.6741 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.4938, allocations: 12.72 MB / 0.6866 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.495, allocations: 87.97 kB / 0.6866 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4951, allocations: 64 kB / 0.6867 GB, free: 11.36 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.4969, allocations: 1.118 MB / 0.6878 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.4971, allocations: 158.1 kB / 0.6879 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/0.5022, allocations: 3.173 MB / 0.691 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.5022, allocations: 15.98 kB / 0.6911 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5023, allocations: 12 kB / 0.6911 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.5023, allocations: 3.984 kB / 0.6911 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008917/0.5112, allocations: 6.248 MB / 0.6972 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5112, allocations: 4.562 kB / 0.6972 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.5117, allocations: 147.8 kB / 0.6973 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/0.5144, allocations: 1.079 MB / 0.6984 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.5145, allocations: 24 kB / 0.6984 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.5284, allocations: 12.41 MB / 0.7105 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5284, allocations: 4 kB / 0.7105 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.5331, allocations: 3.159 MB / 0.7136 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006561/0.5337, allocations: 423 kB / 0.714 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.5339, allocations: 35.98 kB / 0.714 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.5346, allocations: 75.91 kB / 0.7141 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.5349, allocations: 132.6 kB / 0.7142 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.535, allocations: 40 kB / 0.7143 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00089/0.5359, allocations: 0.7632 MB / 0.715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5359, allocations: 4 kB / 0.715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001669/0.5375, allocations: 0.6602 MB / 0.7157 GB, free: 13.04 MB / 0.545 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004839/0.5424, allocations: 3.736 MB / 0.7193 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00416/0.5466, allocations: 3.126 MB / 0.7224 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5466, allocations: 0 / 0.7224 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.5492, allocations: 1.953 MB / 0.7243 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.551, allocations: 464.7 kB / 0.7247 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/0.5789, allocations: 21.37 MB / 0.7456 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.5809, allocations: 2.336 MB / 0.7479 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009526/0.5819, allocations: 358.1 kB / 0.7482 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.5829, allocations: 1.003 MB / 0.7492 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.5829, allocations: 0 / 0.7492 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5667/1.15, allocations: 50.24 MB / 0.7983 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.15, allocations: 243 kB / 0.7985 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.545, allocations: 3.625 kB / 0.7985 GB, free: 7.902 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)