Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_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.000665/0.000665, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004312/0.004312, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.0005319, allocations: 18.89 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01954/0.2223, allocations: 19.41 MB / 0.807 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.2327, allocations: 6.439 MB / 0.8133 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.2346, allocations: 75.56 kB / 0.8133 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.2357, allocations: 408.9 kB / 0.8137 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.2387, allocations: 1.104 MB / 0.8148 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.2414, allocations: 1.083 MB / 0.8159 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006926/0.2483, allocations: 6.964 MB / 0.8227 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.2599, allocations: 7.274 MB / 0.8298 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.2632, allocations: 1.494 MB / 0.8312 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.2664, allocations: 2.02 MB / 0.8332 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000433/0.2668, allocations: 180 kB / 0.8334 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.2688, allocations: 0.9163 MB / 0.8343 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.2701, allocations: 1.356 MB / 0.8356 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.2719, allocations: 1.568 MB / 0.8371 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.2783, allocations: 6.21 MB / 0.8432 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2783, allocations: 0 / 0.8432 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2783, allocations: 0 / 0.8432 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001418/0.2785, allocations: 0 / 0.8432 GB, free: 2.738 MB / 0.6544 GB 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.00576/0.2843, allocations: 2.82 MB / 0.8459 GB, free: 15.86 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2843, allocations: 8.031 kB / 0.8459 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006704/0.285, allocations: 458.5 kB / 0.8464 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.2883, allocations: 0.6372 MB / 0.847 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.2914, allocations: 1.939 MB / 0.8489 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.2915, allocations: 222.3 kB / 0.8491 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.292, allocations: 300.1 kB / 0.8494 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007544/0.2995, allocations: 4.886 MB / 0.8542 GB, free: 7.148 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-05/0.2996, allocations: 15.84 kB / 0.8542 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.2999, allocations: 124 kB / 0.8543 GB, free: 7.012 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004179/0.3004, allocations: 233.7 kB / 0.8545 GB, free: 6.781 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005732/0.3061, allocations: 3.754 MB / 0.8582 GB, free: 3.016 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.3276, allocations: 21.61 MB / 0.8793 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3294, allocations: 1.323 MB / 0.8806 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.3307, allocations: 1.034 MB / 0.8816 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.3308, allocations: 13 kB / 0.8816 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3308, allocations: 47.56 kB / 0.8816 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.865e-06/0.3309, allocations: 0 / 0.8816 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02352/0.3544, allocations: 8.7 MB / 0.8901 GB, free: 204 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3545, allocations: 72.66 kB / 0.8902 GB, free: 120 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.3559, allocations: 1.13 MB / 0.8913 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.356, allocations: 53.7 kB / 0.8914 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007775/0.3568, allocations: 1.288 MB / 0.8926 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.3571, allocations: 489 kB / 0.8931 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.3573, allocations: 133.6 kB / 0.8932 GB, free: 13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.3574, allocations: 305.1 kB / 0.8935 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3587, allocations: 0.9096 MB / 0.8944 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.3601, allocations: 1.33 MB / 0.8957 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.363, allocations: 2.426 MB / 0.8981 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.363, allocations: 8 kB / 0.8981 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005797/0.3688, allocations: 3.459 MB / 0.9015 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.3689, allocations: 16.91 kB / 0.9015 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.3689, allocations: 15.94 kB / 0.9015 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/0.3719, allocations: 1.188 MB / 0.9026 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.3729, allocations: 259.5 kB / 0.9029 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.3884, allocations: 12.76 MB / 0.9154 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.3901, allocations: 87.97 kB / 0.9154 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.3902, allocations: 64 kB / 0.9155 GB, free: 5.418 MB / 0.7325 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.002448/0.3927, allocations: 1.11 MB / 0.9166 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.393, allocations: 162.1 kB / 0.9167 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/0.3987, allocations: 3.177 MB / 0.9198 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3987, allocations: 12 kB / 0.9198 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.3988, allocations: 12 kB / 0.9199 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.3988, allocations: 7.922 kB / 0.9199 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3754/0.7742, allocations: 6.239 MB / 0.926 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.7743, allocations: 4.875 kB / 0.926 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.7748, allocations: 151.8 kB / 0.9261 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.7773, allocations: 1.073 MB / 0.9272 GB, free: 124 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/0.7775, allocations: 27.56 kB / 0.9272 GB, free: 124 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.7915, allocations: 12.45 MB / 0.9393 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/0.7915, allocations: 8.812 kB / 0.9393 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.7978, allocations: 3.154 MB / 0.9424 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.799, allocations: 434.4 kB / 0.9428 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.7992, allocations: 34.42 kB / 0.9429 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.8001, allocations: 82.38 kB / 0.943 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005273/0.8006, allocations: 124 kB / 0.9431 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.8008, allocations: 44.38 kB / 0.9431 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001385/0.8021, allocations: 0.7628 MB / 0.9439 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8022, allocations: 1 kB / 0.9439 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002061/0.8042, allocations: 0.6613 MB / 0.9445 GB, free: 115.4 MB / 0.7325 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.005126/0.8094, allocations: 3.738 MB / 0.9482 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004389/0.8138, allocations: 3.131 MB / 0.9512 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.8138, allocations: 1.094 kB / 0.9512 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.8166, allocations: 1.964 MB / 0.9531 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.8194, allocations: 476.2 kB / 0.9536 GB, free: 111 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/0.8461, allocations: 21.38 MB / 0.9745 GB, free: 98.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.8479, allocations: 2.336 MB / 0.9767 GB, free: 96.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001051/0.8489, allocations: 349 kB / 0.9771 GB, free: 95.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008393/0.8498, allocations: 1.007 MB / 0.9781 GB, free: 94.94 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.8498, allocations: 4 kB / 0.9781 GB, free: 94.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06052/0.9103, allocations: 49.35 MB / 1.026 GB, free: 46.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.9106, allocations: 244.2 kB / 1.026 GB, free: 46.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.326, allocations: 4 kB / 1.026 GB, free: 46 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)