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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001073/0.001073, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 286.8 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9065/0.9065, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 85.91 kB / 0.5946 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1794, allocations: 86.99 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02935/0.2088, allocations: 26.41 MB / 0.7054 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.2236, allocations: 8.076 MB / 0.7132 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.2273, allocations: 107.4 kB / 0.7133 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007662/0.235, allocations: 2.563 MB / 0.7158 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.2407, allocations: 1.501 MB / 0.7173 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.2454, allocations: 1.532 MB / 0.7188 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009901/0.2553, allocations: 8.693 MB / 0.7273 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01396/0.2693, allocations: 8.204 MB / 0.7353 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005748/0.2751, allocations: 2.183 MB / 0.7374 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006113/0.2812, allocations: 2.897 MB / 0.7403 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.2831, allocations: 344 kB / 0.7406 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004409/0.2876, allocations: 1.326 MB / 0.7419 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003981/0.2916, allocations: 1.879 MB / 0.7437 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005922/0.2975, allocations: 2.193 MB / 0.7459 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3084, allocations: 7.918 MB / 0.7536 GB, free: 4.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3084, allocations: 0 / 0.7536 GB, free: 4.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3084, allocations: 0 / 0.7536 GB, free: 4.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002907/0.3087, allocations: 0 / 0.7536 GB, free: 4.984 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.01132/0.3201, allocations: 4.236 MB / 0.7577 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.3201, allocations: 8.031 kB / 0.7577 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008764/0.321, allocations: 0.5343 MB / 0.7583 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.3254, allocations: 0.7963 MB / 0.759 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.33, allocations: 2.432 MB / 0.7614 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3302, allocations: 275.6 kB / 0.7617 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007412/0.331, allocations: 376.3 kB / 0.762 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3412, allocations: 5.988 MB / 0.7679 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.146e-05/0.3413, allocations: 23.78 kB / 0.7679 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/0.3417, allocations: 160 kB / 0.7681 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005622/0.3422, allocations: 278.9 kB / 0.7683 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007192/0.3494, allocations: 4.524 MB / 0.7727 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3027/0.6522, allocations: 27.65 MB / 0.7997 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6536, allocations: 1.129 MB / 0.8008 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.6548, allocations: 1.019 MB / 0.8018 GB, free: 64.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.6548, allocations: 11.25 kB / 0.8019 GB, free: 64.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6549, allocations: 45.5 kB / 0.8019 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.976e-06/0.6549, allocations: 0 / 0.8019 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.01903/0.6739, allocations: 9.661 MB / 0.8113 GB, free: 59.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.674, allocations: 73.14 kB / 0.8114 GB, free: 59.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.676, allocations: 1.492 MB / 0.8129 GB, free: 58.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.6762, allocations: 48.14 kB / 0.8129 GB, free: 58.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.6769, allocations: 1.667 MB / 0.8145 GB, free: 57.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.6772, allocations: 474.2 kB / 0.815 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/0.6777, allocations: 327.8 kB / 0.8153 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.6777, allocations: 302.3 kB / 0.8156 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6789, allocations: 0.9209 MB / 0.8165 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.6803, allocations: 1.457 MB / 0.8179 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.6832, allocations: 2.555 MB / 0.8204 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.6832, allocations: 4.406 kB / 0.8204 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005612/0.6888, allocations: 3.285 MB / 0.8236 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.6889, allocations: 16.77 kB / 0.8236 GB, free: 51.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.6889, allocations: 21.81 kB / 0.8237 GB, free: 51.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.6911, allocations: 0.7388 MB / 0.8244 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.6925, allocations: 384.9 kB / 0.8247 GB, free: 50.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.7032, allocations: 15.75 MB / 0.8401 GB, free: 35.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.7049, allocations: 103.1 kB / 0.8402 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.7051, allocations: 77.22 kB / 0.8403 GB, free: 35.91 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.00198/0.7071, allocations: 1.318 MB / 0.8416 GB, free: 35.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.7075, allocations: 202.2 kB / 0.8418 GB, free: 34.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.7116, allocations: 2.792 MB / 0.8445 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.7116, allocations: 11.31 kB / 0.8445 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7116, allocations: 7.438 kB / 0.8445 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7116, allocations: 7.969 kB / 0.8445 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/0.7202, allocations: 6.216 MB / 0.8506 GB, free: 28.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7202, allocations: 8.094 kB / 0.8506 GB, free: 28.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7213, allocations: 231.6 kB / 0.8508 GB, free: 27.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.723, allocations: 0.675 MB / 0.8515 GB, free: 27.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/0.7231, allocations: 31.94 kB / 0.8515 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.7337, allocations: 15.52 MB / 0.8667 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.7338, allocations: 8 kB / 0.8667 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.739, allocations: 4.008 MB / 0.8706 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009879/0.74, allocations: 450.7 kB / 0.871 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.7403, allocations: 35.98 kB / 0.8711 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.7411, allocations: 83.89 kB / 0.8711 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.7414, allocations: 112.7 kB / 0.8712 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.7415, allocations: 40 kB / 0.8713 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001145/0.7426, allocations: 0.9942 MB / 0.8722 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7427, allocations: 0 / 0.8722 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002164/0.7448, allocations: 0.6836 MB / 0.8729 GB, free: 3.949 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.005273/0.7501, allocations: 4.608 MB / 0.8774 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00521/0.7553, allocations: 3.513 MB / 0.8808 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.7554, allocations: 4 kB / 0.8809 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.7585, allocations: 2.292 MB / 0.8831 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7615, allocations: 0.6202 MB / 0.8837 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.7994, allocations: 24.25 MB / 0.9074 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.8021, allocations: 2.66 MB / 0.91 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001692/0.8038, allocations: 493.3 kB / 0.9104 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.8052, allocations: 1.28 MB / 0.9117 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.8052, allocations: 0 / 0.9117 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09033/0.8955, allocations: 55 MB / 0.9654 GB, free: 4 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.8958, allocations: 257.3 kB / 0.9657 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.552, allocations: 5.562 kB / 0.9657 GB, free: 3.742 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)