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.0007192/0.0007192, allocations: 91.92 kB / 15.7 MB, free: 472 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.0008144/0.0008145, allocations: 168.2 kB / 16.58 MB, free: 5.605 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.291/1.291, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6367/0.6367, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 8.219 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0181/0.1534, allocations: 18.39 MB / 0.5749 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009584/0.163, allocations: 6.128 MB / 0.5808 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.1645, allocations: 71.62 kB / 0.5809 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.1658, allocations: 392.8 kB / 0.5813 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.1683, allocations: 0.9599 MB / 0.5822 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.1704, allocations: 0.7688 MB / 0.583 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2436/0.414, allocations: 5.471 MB / 0.5883 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/0.4248, allocations: 6.4 MB / 0.5946 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.4279, allocations: 1.51 MB / 0.596 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/0.4316, allocations: 1.973 MB / 0.598 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008592/0.4325, allocations: 180.3 kB / 0.5981 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.4345, allocations: 480.2 kB / 0.5986 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.4368, allocations: 1.34 MB / 0.5999 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.4383, allocations: 0.6438 MB / 0.6005 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.4435, allocations: 5.378 MB / 0.6058 GB, free: 11.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4435, allocations: 3.938 kB / 0.6058 GB, free: 11.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4435, allocations: 0 / 0.6058 GB, free: 11.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.4437, allocations: 0 / 0.6058 GB, free: 11.99 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.00501/0.4487, allocations: 2.85 MB / 0.6086 GB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4487, allocations: 9.938 kB / 0.6086 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005486/0.4493, allocations: 456 kB / 0.609 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.4523, allocations: 0.6331 MB / 0.6096 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.4549, allocations: 1.91 MB / 0.6115 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.455, allocations: 225 kB / 0.6117 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/0.4554, allocations: 294.9 kB / 0.612 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006115/0.4616, allocations: 4.859 MB / 0.6167 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.4616, allocations: 17.12 kB / 0.6168 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.4619, allocations: 129.1 kB / 0.6169 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/0.4622, allocations: 231.7 kB / 0.6171 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.4667, allocations: 3.726 MB / 0.6207 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.4838, allocations: 21.61 MB / 0.6418 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.4854, allocations: 1.299 MB / 0.6431 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.4866, allocations: 1.038 MB / 0.6441 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.4867, allocations: 19.3 kB / 0.6441 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4868, allocations: 43.56 kB / 0.6442 GB, free: 11.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 2.394e-06/0.4868, allocations: 0 / 0.6442 GB, free: 11.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=138): time 0.01989/0.5067, allocations: 8.667 MB / 0.6527 GB, free: 2.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5067, allocations: 68.72 kB / 0.6527 GB, free: 2.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.508, allocations: 1.118 MB / 0.6538 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/0.5081, allocations: 55.89 kB / 0.6539 GB, free: 1.547 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.5088, allocations: 1.298 MB / 0.6551 GB, free: 244 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.5092, allocations: 476.9 kB / 0.6556 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.5093, allocations: 36 kB / 0.6556 GB, free: 15.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5094, allocations: 369.9 kB / 0.656 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.5106, allocations: 0.9018 MB / 0.6569 GB, free: 14.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.512, allocations: 1.318 MB / 0.6581 GB, free: 12.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.5134, allocations: 1.139 MB / 0.6593 GB, free: 11.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.5134, allocations: 11.77 kB / 0.6593 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005121/0.5185, allocations: 3.434 MB / 0.6626 GB, free: 8.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5185, allocations: 12.03 kB / 0.6626 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5186, allocations: 16 kB / 0.6626 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.5213, allocations: 1.186 MB / 0.6638 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.5221, allocations: 259.5 kB / 0.6641 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.5363, allocations: 12.7 MB / 0.6765 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5374, allocations: 87.97 kB / 0.6765 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.5376, allocations: 67.98 kB / 0.6766 GB, free: 9.664 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001886/0.5395, allocations: 1.114 MB / 0.6777 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5397, allocations: 162.1 kB / 0.6778 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/0.5449, allocations: 3.154 MB / 0.6809 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.5449, allocations: 14.3 kB / 0.6809 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.5449, allocations: 16 kB / 0.681 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.545, allocations: 7.969 kB / 0.681 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.5554, allocations: 6.23 MB / 0.687 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5555, allocations: 4 kB / 0.687 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.556, allocations: 152.1 kB / 0.6872 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.5585, allocations: 1.08 MB / 0.6882 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.5586, allocations: 34.3 kB / 0.6883 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/0.573, allocations: 12.42 MB / 0.7004 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.573, allocations: 7.938 kB / 0.7004 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.5778, allocations: 3.14 MB / 0.7035 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/0.5787, allocations: 427 kB / 0.7039 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.5789, allocations: 32 kB / 0.7039 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.5795, allocations: 84.22 kB / 0.704 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.5798, allocations: 128.6 kB / 0.7041 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/0.5799, allocations: 44 kB / 0.7042 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009733/0.5809, allocations: 0.7553 MB / 0.7049 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5809, allocations: 0 / 0.7049 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001932/0.5828, allocations: 0.6641 MB / 0.7056 GB, free: 11.38 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00485/0.5877, allocations: 3.722 MB / 0.7092 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004469/0.5922, allocations: 3.121 MB / 0.7122 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5922, allocations: 0 / 0.7122 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.5949, allocations: 1.971 MB / 0.7142 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.5969, allocations: 465.7 kB / 0.7146 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/0.6199, allocations: 15.1 MB / 0.7293 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/0.6222, allocations: 2.336 MB / 0.7316 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001056/0.6233, allocations: 362.1 kB / 0.732 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.6244, allocations: 0.9992 MB / 0.733 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.6244, allocations: 0 / 0.733 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/0.6953, allocations: 49.33 MB / 0.7811 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.6955, allocations: 235.6 kB / 0.7814 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.104, allocations: 4 kB / 0.7814 GB, free: 13.72 MB / 0.6075 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/linux/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) Environment - environmentSimulation: