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.0009759/0.0009759, allocations: 104 kB / 16.27 MB, free: 5.977 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.001024/0.001024, allocations: 187.7 kB / 17.19 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.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7062/0.7062, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 59.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3047, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01772/0.3224, allocations: 20.23 MB / 0.5871 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009327/0.3318, allocations: 6.45 MB / 0.5933 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.3336, allocations: 84.03 kB / 0.5934 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004474/0.3381, allocations: 2.226 MB / 0.5956 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.341, allocations: 1.183 MB / 0.5968 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.3435, allocations: 1.287 MB / 0.598 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003523/0.347, allocations: 4.852 MB / 0.6028 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004074/0.3511, allocations: 5.646 MB / 0.6083 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.3534, allocations: 2.076 MB / 0.6103 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.3557, allocations: 2.34 MB / 0.6126 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005013/0.3563, allocations: 435.9 kB / 0.613 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.3581, allocations: 0.9986 MB / 0.614 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.3595, allocations: 1.665 MB / 0.6156 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.3612, allocations: 1.914 MB / 0.6175 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.3665, allocations: 6.474 MB / 0.6238 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3665, allocations: 4 kB / 0.6238 GB, free: 0.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3665, allocations: 0 / 0.6238 GB, free: 0.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.317e-05/0.3666, allocations: 0 / 0.6238 GB, free: 0.793 MB / 462.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.005392/0.372, allocations: 3.449 MB / 0.6272 GB, free: 13.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.372, allocations: 8.625 kB / 0.6272 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004975/0.3725, allocations: 458.5 kB / 0.6276 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.3755, allocations: 0.641 MB / 0.6282 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.3782, allocations: 1.936 MB / 0.6301 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3783, allocations: 226.3 kB / 0.6303 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.3787, allocations: 296.1 kB / 0.6306 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006207/0.3849, allocations: 4.894 MB / 0.6354 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/0.385, allocations: 11.84 kB / 0.6354 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.3853, allocations: 128 kB / 0.6355 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/0.3857, allocations: 229.7 kB / 0.6358 GB, free: 4.207 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005127/0.3908, allocations: 3.754 MB / 0.6394 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/0.4097, allocations: 21.57 MB / 0.6605 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.4113, allocations: 1.306 MB / 0.6618 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.4125, allocations: 1.046 MB / 0.6628 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/0.4126, allocations: 16.98 kB / 0.6628 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4126, allocations: 43.56 kB / 0.6628 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=107): time 2.735e-06/0.4126, allocations: 0 / 0.6628 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138): time 0.02237/0.435, allocations: 8.661 MB / 0.6713 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4351, allocations: 68.72 kB / 0.6714 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.4365, allocations: 1.126 MB / 0.6725 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.4366, allocations: 53.7 kB / 0.6725 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007129/0.4373, allocations: 1.288 MB / 0.6738 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.4376, allocations: 489 kB / 0.6742 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/0.4381, allocations: 299.3 kB / 0.6745 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.4382, allocations: 305.1 kB / 0.6748 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4393, allocations: 0.9174 MB / 0.6757 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4407, allocations: 1.322 MB / 0.677 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.4435, allocations: 2.422 MB / 0.6794 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4435, allocations: 8 kB / 0.6794 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005409/0.4489, allocations: 3.459 MB / 0.6827 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.449, allocations: 16.95 kB / 0.6828 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.449, allocations: 12 kB / 0.6828 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.4519, allocations: 1.183 MB / 0.6839 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/0.4528, allocations: 263.5 kB / 0.6842 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.4689, allocations: 13.85 MB / 0.6977 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4702, allocations: 92.09 kB / 0.6978 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.4704, allocations: 64 kB / 0.6979 GB, free: 1.676 MB / 0.5294 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.001941/0.4723, allocations: 1.118 MB / 0.6989 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.4727, allocations: 162.1 kB / 0.6991 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/0.478, allocations: 3.165 MB / 0.7022 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4781, allocations: 16 kB / 0.7022 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.4781, allocations: 15.94 kB / 0.7022 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.4781, allocations: 7.969 kB / 0.7022 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009207/0.4873, allocations: 6.245 MB / 0.7083 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4873, allocations: 4 kB / 0.7083 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.4879, allocations: 155.6 kB / 0.7085 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.4906, allocations: 1.081 MB / 0.7095 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/0.4907, allocations: 28 kB / 0.7096 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/0.5058, allocations: 13.54 MB / 0.7228 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5058, allocations: 7.938 kB / 0.7228 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.5106, allocations: 3.154 MB / 0.7259 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006962/0.5113, allocations: 427 kB / 0.7263 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.5116, allocations: 31.94 kB / 0.7263 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.5123, allocations: 83.89 kB / 0.7264 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.5126, allocations: 120.7 kB / 0.7265 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.5127, allocations: 47.98 kB / 0.7265 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009402/0.5137, allocations: 0.7593 MB / 0.7273 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5137, allocations: 4 kB / 0.7273 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001741/0.5154, allocations: 0.6602 MB / 0.7279 GB, free: 2.16 MB / 0.5606 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.004841/0.5203, allocations: 3.744 MB / 0.7316 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005132/0.5254, allocations: 3.63 MB / 0.7351 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5254, allocations: 128 / 0.7351 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.5281, allocations: 1.951 MB / 0.737 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.53, allocations: 0.503 MB / 0.7375 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2441/0.7741, allocations: 20.09 MB / 0.7571 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/0.7762, allocations: 2.34 MB / 0.7594 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009465/0.7771, allocations: 353.3 kB / 0.7598 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/0.778, allocations: 1.012 MB / 0.7608 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.778, allocations: 1.5 kB / 0.7608 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.633/4.411, allocations: 51.43 MB / 0.811 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/16.24, allocations: 8 kB / 0.811 GB, free: 110.5 MB / 0.5762 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)