Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.001101/0.001101, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.006616/0.006616, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.326/1.326, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.000605/0.0006054, allocations: 18.03 kB / 0.6744 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1978, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006054/0.2039, allocations: 5.122 MB / 0.793 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004893/0.2088, allocations: 2.643 MB / 0.7956 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.2093, allocations: 19.88 kB / 0.7956 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.2097, allocations: 99.14 kB / 0.7957 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.2108, allocations: 386.1 kB / 0.7961 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009899/0.2118, allocations: 374 kB / 0.7964 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2132, allocations: 1.248 MB / 0.7977 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2145, allocations: 0.7793 MB / 0.7984 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.2151, allocations: 318.6 kB / 0.7987 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.2157, allocations: 386.4 kB / 0.7991 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.2158, allocations: 24 kB / 0.7991 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007499/0.2165, allocations: 435.1 kB / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.2168, allocations: 223.3 kB / 0.7997 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.2172, allocations: 343.9 kB / 0.8001 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2183, allocations: 0.9578 MB / 0.801 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2183, allocations: 4 kB / 0.801 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2183, allocations: 0 / 0.801 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.582e-05/0.2183, allocations: 0 / 0.801 GB, free: 14.08 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001502/0.2198, allocations: 0.8596 MB / 0.8018 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2199, allocations: 11.97 kB / 0.8019 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.22, allocations: 94.7 kB / 0.8019 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.2214, allocations: 195.9 kB / 0.8021 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.2221, allocations: 0.4906 MB / 0.8026 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.2222, allocations: 37.31 kB / 0.8026 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2223, allocations: 56.48 kB / 0.8027 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.2235, allocations: 0.8278 MB / 0.8035 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.2235, allocations: 11.92 kB / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.2236, allocations: 24 kB / 0.8035 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.2238, allocations: 64.94 kB / 0.8036 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.2247, allocations: 0.5697 MB / 0.8042 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.2288, allocations: 4.593 MB / 0.8086 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.2293, allocations: 299.2 kB / 0.8089 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.2296, allocations: 225.3 kB / 0.8091 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.2296, allocations: 4.281 kB / 0.8092 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2297, allocations: 38.84 kB / 0.8092 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.2297, allocations: 0 / 0.8092 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005327/0.235, allocations: 2.627 MB / 0.8118 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2351, allocations: 59.41 kB / 0.8118 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.2355, allocations: 466 kB / 0.8123 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2356, allocations: 33.7 kB / 0.8123 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.2358, allocations: 343.6 kB / 0.8126 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.2359, allocations: 141.9 kB / 0.8128 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.236, allocations: 53.69 kB / 0.8128 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2362, allocations: 358.8 kB / 0.8131 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.2365, allocations: 237 kB / 0.8134 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.237, allocations: 414.4 kB / 0.8138 GB, free: 216 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.2378, allocations: 0.6779 MB / 0.8144 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2379, allocations: 0 / 0.8144 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00162/0.2395, allocations: 0.9213 MB / 0.8153 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2395, allocations: 16.03 kB / 0.8153 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2395, allocations: 4 kB / 0.8153 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007453/0.2403, allocations: 222.4 kB / 0.8156 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.2408, allocations: 119.8 kB / 0.8157 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/0.2455, allocations: 4.939 MB / 0.8205 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.246, allocations: 28.16 kB / 0.8205 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.246, allocations: 28 kB / 0.8205 GB, free: 8.762 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.000307/0.2463, allocations: 237.2 kB / 0.8208 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2464, allocations: 59.34 kB / 0.8208 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.2479, allocations: 0.7742 MB / 0.8216 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2479, allocations: 7.938 kB / 0.8216 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.248, allocations: 4 kB / 0.8216 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.248, allocations: 0 / 0.8216 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2503, allocations: 1.501 MB / 0.8231 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2503, allocations: 4 kB / 0.8231 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.2507, allocations: 63.89 kB / 0.8231 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/0.2513, allocations: 202.6 kB / 0.8233 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2514, allocations: 15.98 kB / 0.8233 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.2556, allocations: 4.872 MB / 0.8281 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2556, allocations: 4.078 kB / 0.8281 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2572, allocations: 1.143 MB / 0.8292 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.2574, allocations: 172.3 kB / 0.8294 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.2575, allocations: 12 kB / 0.8294 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2578, allocations: 23.97 kB / 0.8294 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.2579, allocations: 39.95 kB / 0.8295 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2579, allocations: 12 kB / 0.8295 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003082/0.2582, allocations: 318.9 kB / 0.8298 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2582, allocations: 0 / 0.8298 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006162/0.2589, allocations: 168 kB / 0.8299 GB, free: 14.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.001877/0.2607, allocations: 1.696 MB / 0.8316 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.2622, allocations: 1.001 MB / 0.8326 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2622, allocations: 0 / 0.8326 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.2631, allocations: 0.6953 MB / 0.8332 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.2641, allocations: 174.1 kB / 0.8334 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.2715, allocations: 5.991 MB / 0.8393 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.272, allocations: 0.9455 MB / 0.8402 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003741/0.2724, allocations: 120.9 kB / 0.8403 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.2727, allocations: 211.4 kB / 0.8405 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/0.2727, allocations: 0 / 0.8405 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0769/0.3496, allocations: 13.35 MB / 0.8535 GB, free: 6.27 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.3498, allocations: 247.9 kB / 0.8538 GB, free: 6.008 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.695, allocations: 0 / 0.8538 GB, free: 6.008 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)