Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001578/0.001578, allocations: 108 kB / 15.61 MB, free: 152 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.00186/0.00186, allocations: 195 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00223/0.00223, allocations: 283 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9275/0.9275, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001747, allocations: 93.12 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1535, allocations: 86.97 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03059/0.1841, allocations: 26.63 MB / 0.7063 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1978, allocations: 8.084 MB / 0.7142 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.2001, allocations: 115.4 kB / 0.7143 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007004/0.2072, allocations: 2.764 MB / 0.717 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.2118, allocations: 1.589 MB / 0.7186 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.2161, allocations: 1.672 MB / 0.7202 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006474/0.2226, allocations: 6.131 MB / 0.7262 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008428/0.231, allocations: 7.425 MB / 0.7334 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/0.2345, allocations: 2.563 MB / 0.7359 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.2388, allocations: 2.827 MB / 0.7387 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.2403, allocations: 0.5078 MB / 0.7392 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.2436, allocations: 1.287 MB / 0.7404 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002774/0.2464, allocations: 2.058 MB / 0.7425 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003986/0.2504, allocations: 2.381 MB / 0.7448 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008836/0.2592, allocations: 7.997 MB / 0.7526 GB, free: 6.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.2593, allocations: 0 / 0.7526 GB, free: 6.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2593, allocations: 0 / 0.7526 GB, free: 6.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002555/0.2596, allocations: 0 / 0.7526 GB, free: 6.297 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01102/0.2706, allocations: 4.228 MB / 0.7567 GB, free: 2.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.2707, allocations: 19.91 kB / 0.7567 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001761/0.2724, allocations: 0.5421 MB / 0.7573 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.2776, allocations: 0.7961 MB / 0.758 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.2828, allocations: 2.421 MB / 0.7604 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.2831, allocations: 279.6 kB / 0.7607 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.2845, allocations: 376.4 kB / 0.761 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.2961, allocations: 5.988 MB / 0.7669 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.2963, allocations: 23.78 kB / 0.7669 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007129/0.297, allocations: 156 kB / 0.7671 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006277/0.2976, allocations: 290.9 kB / 0.7673 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009419/0.307, allocations: 4.52 MB / 0.7717 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.314/0.6211, allocations: 27.65 MB / 0.7987 GB, free: 65.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.6228, allocations: 1.13 MB / 0.7998 GB, free: 64.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.6242, allocations: 1.015 MB / 0.8008 GB, free: 64.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-05/0.6243, allocations: 10.94 kB / 0.8008 GB, free: 64.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.6243, allocations: 48.08 kB / 0.8009 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.446e-06/0.6243, allocations: 0 / 0.8009 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02287/0.6472, allocations: 9.658 MB / 0.8103 GB, free: 60.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.6473, allocations: 73.41 kB / 0.8104 GB, free: 60.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/0.6507, allocations: 1.493 MB / 0.8119 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.6509, allocations: 51.42 kB / 0.8119 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.652, allocations: 1.671 MB / 0.8135 GB, free: 57.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.6524, allocations: 470 kB / 0.814 GB, free: 57.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/0.653, allocations: 327.8 kB / 0.8143 GB, free: 57.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.6531, allocations: 302.2 kB / 0.8146 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.6544, allocations: 0.9168 MB / 0.8155 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.6562, allocations: 1.467 MB / 0.8169 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.6593, allocations: 2.55 MB / 0.8194 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/0.6593, allocations: 4.969 kB / 0.8194 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005982/0.6653, allocations: 3.282 MB / 0.8226 GB, free: 51.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.6653, allocations: 16.36 kB / 0.8226 GB, free: 51.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.6654, allocations: 18 kB / 0.8226 GB, free: 51.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.6676, allocations: 0.7424 MB / 0.8234 GB, free: 51.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6693, allocations: 384.3 kB / 0.8237 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.6815, allocations: 17.06 MB / 0.8404 GB, free: 35.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.6832, allocations: 99.03 kB / 0.8405 GB, free: 35.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.6834, allocations: 78.83 kB / 0.8406 GB, free: 35.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001886/0.6853, allocations: 1.311 MB / 0.8418 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004455/0.6858, allocations: 202.9 kB / 0.842 GB, free: 34.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/0.6905, allocations: 2.793 MB / 0.8448 GB, free: 32.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.6905, allocations: 11.22 kB / 0.8448 GB, free: 32.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.6905, allocations: 7.625 kB / 0.8448 GB, free: 32.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6906, allocations: 3.984 kB / 0.8448 GB, free: 32.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.7009, allocations: 6.218 MB / 0.8509 GB, free: 27.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.701, allocations: 8.094 kB / 0.8509 GB, free: 27.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.7022, allocations: 231.6 kB / 0.8511 GB, free: 27.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.7041, allocations: 0.6709 MB / 0.8517 GB, free: 27.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.7043, allocations: 43.42 kB / 0.8518 GB, free: 27.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.7158, allocations: 16.78 MB / 0.8682 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7158, allocations: 16 kB / 0.8682 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/0.7213, allocations: 4.006 MB / 0.8721 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.7224, allocations: 454.6 kB / 0.8725 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/0.7229, allocations: 39.91 kB / 0.8726 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.7243, allocations: 79.89 kB / 0.8727 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/0.7246, allocations: 112.7 kB / 0.8728 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.713e-05/0.7248, allocations: 44 kB / 0.8728 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001419/0.7262, allocations: 0.998 MB / 0.8738 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7262, allocations: 0 / 0.8738 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002527/0.7287, allocations: 0.6875 MB / 0.8744 GB, free: 2.422 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005845/0.7346, allocations: 4.604 MB / 0.8789 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006753/0.7414, allocations: 4.101 MB / 0.8829 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.7414, allocations: 4 kB / 0.883 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003316/0.7447, allocations: 2.294 MB / 0.8852 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.7481, allocations: 0.6798 MB / 0.8859 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0353/0.7834, allocations: 22.72 MB / 0.908 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/0.7867, allocations: 2.664 MB / 0.9106 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001584/0.7883, allocations: 485.4 kB / 0.9111 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.7899, allocations: 1.284 MB / 0.9124 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.7899, allocations: 0 / 0.9124 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/0.8999, allocations: 56.3 MB / 0.9673 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.06, allocations: 12.17 kB / 0.9673 GB, free: 2.129 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)