Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009874, allocations: 172.2 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007482/0.0007482, allocations: 82.38 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 8.594 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1443, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0182/0.1626, allocations: 26.05 MB / 0.9216 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009944/0.1726, allocations: 8.126 MB / 0.9296 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.1743, allocations: 103.4 kB / 0.9297 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004631/0.179, allocations: 2.553 MB / 0.9322 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.1822, allocations: 1.486 MB / 0.9336 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.1852, allocations: 1.533 MB / 0.9351 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005475/0.1907, allocations: 8.689 MB / 0.9436 GB, free: 19.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007835/0.1986, allocations: 8.163 MB / 0.9516 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.2014, allocations: 1.894 MB / 0.9534 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.2035, allocations: 2.46 MB / 0.9558 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.2038, allocations: 215.9 kB / 0.956 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.2055, allocations: 1.205 MB / 0.9572 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009431/0.2064, allocations: 1.672 MB / 0.9588 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.2076, allocations: 1.928 MB / 0.9607 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.2127, allocations: 7.674 MB / 0.9682 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2127, allocations: 4 kB / 0.9682 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2127, allocations: 0 / 0.9682 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.371e-05/0.2128, allocations: 0 / 0.9682 GB, free: 10.05 MB / 0.6198 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.005258/0.2181, allocations: 3.428 MB / 0.9716 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2181, allocations: 8.031 kB / 0.9716 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006427/0.2188, allocations: 0.5421 MB / 0.9721 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.2223, allocations: 0.7962 MB / 0.9729 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.2257, allocations: 2.432 MB / 0.9753 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.2259, allocations: 271.6 kB / 0.9755 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.2265, allocations: 380.4 kB / 0.9759 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009698/0.2362, allocations: 5.988 MB / 0.9817 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.23e-05/0.2363, allocations: 19.83 kB / 0.9818 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.2367, allocations: 160 kB / 0.9819 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005326/0.2372, allocations: 282.9 kB / 0.9822 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007237/0.2445, allocations: 4.528 MB / 0.9866 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02618/0.2707, allocations: 27.69 MB / 1.014 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.2721, allocations: 1.125 MB / 1.015 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2733, allocations: 1.019 MB / 1.016 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.2734, allocations: 13 kB / 1.016 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.2734, allocations: 47.56 kB / 1.016 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 2.875e-06/0.2734, allocations: 0 / 1.016 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.01885/0.2923, allocations: 9.681 MB / 1.025 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2923, allocations: 68.72 kB / 1.025 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.294, allocations: 1.494 MB / 1.027 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/0.2941, allocations: 49.7 kB / 1.027 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009113/0.295, allocations: 1.659 MB / 1.028 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.2953, allocations: 469.3 kB / 1.029 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.2955, allocations: 145.6 kB / 1.029 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.2956, allocations: 313 kB / 1.029 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.2967, allocations: 0.9096 MB / 1.03 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2982, allocations: 1.471 MB / 1.032 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.3008, allocations: 2.546 MB / 1.034 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3009, allocations: 4 kB / 1.034 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004924/0.3058, allocations: 3.294 MB / 1.037 GB, free: 15.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.3058, allocations: 12 kB / 1.037 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3058, allocations: 16 kB / 1.037 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.3079, allocations: 0.7375 MB / 1.038 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.3092, allocations: 387.3 kB / 1.038 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2991/0.6083, allocations: 15.77 MB / 1.054 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.6098, allocations: 104.5 kB / 1.054 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.6099, allocations: 74.47 kB / 1.054 GB, free: 137.8 MB / 0.698 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.002082/0.612, allocations: 1.314 MB / 1.055 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.6123, allocations: 202.4 kB / 1.056 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.6167, allocations: 2.787 MB / 1.058 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6167, allocations: 12.28 kB / 1.058 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6167, allocations: 6.406 kB / 1.058 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.6167, allocations: 10.73 kB / 1.058 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.6276, allocations: 6.213 MB / 1.064 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.6276, allocations: 9.969 kB / 1.064 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.6293, allocations: 233.9 kB / 1.065 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/0.632, allocations: 0.6647 MB / 1.065 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.6322, allocations: 33.47 kB / 1.065 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.647, allocations: 15.52 MB / 1.08 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.6471, allocations: 9.625 kB / 1.08 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008326/0.6554, allocations: 4.008 MB / 1.084 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.6567, allocations: 452.6 kB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.6571, allocations: 31.83 kB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.6584, allocations: 86.08 kB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.6588, allocations: 120.3 kB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.6589, allocations: 35.66 kB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001518/0.6604, allocations: 0.9965 MB / 1.086 GB, free: 121.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6604, allocations: 0 / 1.086 GB, free: 121.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002266/0.6627, allocations: 0.6837 MB / 1.087 GB, free: 121.1 MB / 0.698 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.005098/0.6678, allocations: 4.608 MB / 1.091 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004583/0.6724, allocations: 3.503 MB / 1.095 GB, free: 116.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6724, allocations: 7.688 kB / 1.095 GB, free: 116.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.6749, allocations: 2.283 MB / 1.097 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.6782, allocations: 0.6187 MB / 1.097 GB, free: 115.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/0.7052, allocations: 24.25 MB / 1.121 GB, free: 92.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.7072, allocations: 2.664 MB / 1.124 GB, free: 89.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001387/0.7086, allocations: 489.4 kB / 1.124 GB, free: 89.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.7096, allocations: 1.284 MB / 1.125 GB, free: 88.19 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/0.7096, allocations: 3.938 kB / 1.125 GB, free: 88.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5858/1.295, allocations: 54.22 MB / 1.178 GB, free: 34.63 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.296, allocations: 259.2 kB / 1.179 GB, free: 34.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.438, allocations: 0 / 1.179 GB, free: 34.37 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)