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.001171/0.001171, allocations: 109.4 kB / 15.69 MB, free: 128 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.001876/0.001876, allocations: 188.8 kB / 16.62 MB, free: 6.582 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.449/1.449, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.659/1.659, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00142/0.00142, allocations: 72 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2386, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03793/0.2766, allocations: 20.18 MB / 0.8033 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01322/0.2898, allocations: 6.505 MB / 0.8097 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.2918, allocations: 83.62 kB / 0.8098 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005515/0.2973, allocations: 2.235 MB / 0.812 GB, free: 188 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.3008, allocations: 1.181 MB / 0.8131 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.3041, allocations: 1.286 MB / 0.8144 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005703/0.3098, allocations: 4.85 MB / 0.8191 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007013/0.3168, allocations: 5.626 MB / 0.8246 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.3205, allocations: 2.084 MB / 0.8266 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003992/0.3245, allocations: 2.348 MB / 0.8289 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.3258, allocations: 428 kB / 0.8293 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.3287, allocations: 1.003 MB / 0.8303 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.3309, allocations: 1.668 MB / 0.8319 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.3343, allocations: 1.906 MB / 0.8338 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007406/0.3417, allocations: 6.521 MB / 0.8402 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3417, allocations: 3.938 kB / 0.8402 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3417, allocations: 0 / 0.8402 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001706/0.3419, allocations: 0 / 0.8402 GB, free: 3.152 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.007883/0.3498, allocations: 3.459 MB / 0.8436 GB, free: 15.63 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3499, allocations: 12.03 kB / 0.8436 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008481/0.3507, allocations: 454.5 kB / 0.844 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.3544, allocations: 0.6332 MB / 0.8446 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/0.3584, allocations: 2.049 MB / 0.8466 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.3586, allocations: 222.3 kB / 0.8468 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/0.3594, allocations: 300 kB / 0.8471 GB, free: 11.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009258/0.3687, allocations: 4.89 MB / 0.8519 GB, free: 6.816 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.375e-05/0.3688, allocations: 11.84 kB / 0.8519 GB, free: 6.805 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/0.3692, allocations: 128 kB / 0.852 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004348/0.3697, allocations: 229.7 kB / 0.8522 GB, free: 6.453 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007373/0.377, allocations: 3.75 MB / 0.8559 GB, free: 2.691 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.405, allocations: 21.4 MB / 0.8768 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.4067, allocations: 1.312 MB / 0.8781 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.4081, allocations: 1.057 MB / 0.8791 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.758e-05/0.4082, allocations: 9 kB / 0.8791 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.4082, allocations: 47.56 kB / 0.8792 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.856e-06/0.4082, allocations: 0 / 0.8792 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02444/0.4327, allocations: 8.645 MB / 0.8876 GB, free: 144 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.4328, allocations: 68.66 kB / 0.8877 GB, free: 64 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.4343, allocations: 1.134 MB / 0.8888 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.4345, allocations: 49.7 kB / 0.8888 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/0.4353, allocations: 1.292 MB / 0.8901 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/0.4358, allocations: 481.1 kB / 0.8906 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004666/0.4362, allocations: 287.4 kB / 0.8908 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.4363, allocations: 309.1 kB / 0.8911 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.4376, allocations: 0.9174 MB / 0.892 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.439, allocations: 1.326 MB / 0.8933 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.4418, allocations: 2.426 MB / 0.8957 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4419, allocations: 4 kB / 0.8957 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005813/0.4477, allocations: 3.467 MB / 0.8991 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4477, allocations: 10.66 kB / 0.8991 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.4478, allocations: 12 kB / 0.8991 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/0.4509, allocations: 1.185 MB / 0.9003 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.4519, allocations: 255.5 kB / 0.9005 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.4686, allocations: 13.84 MB / 0.914 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.47, allocations: 87.97 kB / 0.9141 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4702, allocations: 71.92 kB / 0.9142 GB, free: 4.121 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.001734/0.4719, allocations: 1.114 MB / 0.9153 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.4723, allocations: 162.1 kB / 0.9154 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.424/0.8963, allocations: 3.166 MB / 0.9185 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/0.8964, allocations: 14.56 kB / 0.9185 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/0.8964, allocations: 11.91 kB / 0.9185 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/0.8965, allocations: 9.156 kB / 0.9185 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.9073, allocations: 6.246 MB / 0.9246 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.9073, allocations: 2.688 kB / 0.9246 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/0.9079, allocations: 146.5 kB / 0.9248 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002729/0.9106, allocations: 1.077 MB / 0.9258 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.9107, allocations: 27.02 kB / 0.9259 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.9279, allocations: 13.53 MB / 0.9391 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.928, allocations: 9.031 kB / 0.9391 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/0.9346, allocations: 3.153 MB / 0.9422 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9357, allocations: 423.9 kB / 0.9426 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.936, allocations: 27.28 kB / 0.9426 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/0.9368, allocations: 84.69 kB / 0.9427 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/0.9374, allocations: 128.8 kB / 0.9428 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.9375, allocations: 37.41 kB / 0.9428 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001175/0.9387, allocations: 0.7697 MB / 0.9436 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9387, allocations: 0 / 0.9436 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002362/0.9411, allocations: 0.6578 MB / 0.9442 GB, free: 115.1 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.005536/0.9466, allocations: 3.745 MB / 0.9479 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005157/0.9518, allocations: 3.145 MB / 0.9509 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.9519, allocations: 2.094 kB / 0.9509 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003014/0.9549, allocations: 1.952 MB / 0.9529 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.9576, allocations: 0.4903 MB / 0.9533 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/0.9873, allocations: 19.11 MB / 0.972 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.9896, allocations: 2.341 MB / 0.9743 GB, free: 98.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001088/0.9907, allocations: 348.6 kB / 0.9746 GB, free: 97.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/0.9917, allocations: 1.007 MB / 0.9756 GB, free: 96.91 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/0.9917, allocations: 0 / 0.9756 GB, free: 96.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/1.097, allocations: 51.49 MB / 1.026 GB, free: 46.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.24, allocations: 7.75 kB / 1.026 GB, free: 46.11 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)