Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.4 MB / 303.3 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 187.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 85.8 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006272/0.0006277, allocations: 12.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3417, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03073/0.3725, allocations: 24.21 MB / 1.003 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02009/0.3927, allocations: 7.723 MB / 1.011 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/0.3969, allocations: 95.44 kB / 1.011 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.4004, allocations: 0.5193 MB / 1.011 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.4084, allocations: 1.279 MB / 1.013 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.4149, allocations: 0.9881 MB / 1.014 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01484/0.4298, allocations: 6.876 MB / 1.02 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02623/0.4561, allocations: 8.18 MB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007612/0.4637, allocations: 1.879 MB / 1.03 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009106/0.4729, allocations: 2.394 MB / 1.033 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002755/0.4758, allocations: 212 kB / 1.033 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005723/0.4816, allocations: 0.597 MB / 1.033 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.005708/0.4873, allocations: 1.66 MB / 1.035 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004482/0.4919, allocations: 0.8044 MB / 1.036 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.5065, allocations: 6.627 MB / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.5065, allocations: 0 / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.817e-06/0.5065, allocations: 0 / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003739/0.5069, allocations: 0 / 1.042 GB, free: 11.32 MB / 0.6667 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.01805/0.525, allocations: 3.467 MB / 1.046 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.5251, allocations: 8.031 kB / 1.046 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003932/0.529, allocations: 0.5341 MB / 1.046 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008696/0.5378, allocations: 0.7953 MB / 1.047 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.5485, allocations: 2.374 MB / 1.049 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005983/0.5492, allocations: 279.2 kB / 1.049 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.5519, allocations: 371.9 kB / 1.05 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/0.5796, allocations: 5.957 MB / 1.056 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003354/0.58, allocations: 15.88 kB / 1.056 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002093/0.5821, allocations: 164 kB / 1.056 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.5834, allocations: 286.9 kB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.6011, allocations: 4.489 MB / 1.06 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6301/1.231, allocations: 27.68 MB / 1.088 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/1.234, allocations: 1.112 MB / 1.089 GB, free: 62.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.236, allocations: 1.017 MB / 1.09 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/1.236, allocations: 11.88 kB / 1.09 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/1.236, allocations: 48.97 kB / 1.09 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.287e-06/1.236, allocations: 0 / 1.09 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02656/1.262, allocations: 9.669 MB / 1.099 GB, free: 57.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/1.263, allocations: 66 kB / 1.099 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/1.265, allocations: 1.476 MB / 1.101 GB, free: 57.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.266, allocations: 49.05 kB / 1.101 GB, free: 57.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.267, allocations: 1.663 MB / 1.102 GB, free: 55.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/1.267, allocations: 475.2 kB / 1.103 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/1.267, allocations: 35.62 kB / 1.103 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.268, allocations: 378.9 kB / 1.103 GB, free: 55.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.269, allocations: 0.908 MB / 1.104 GB, free: 54.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/1.271, allocations: 1.451 MB / 1.105 GB, free: 53.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/1.273, allocations: 1.148 MB / 1.107 GB, free: 53.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.273, allocations: 4.312 kB / 1.107 GB, free: 53.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007031/1.28, allocations: 3.27 MB / 1.11 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/1.28, allocations: 16.19 kB / 1.11 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-05/1.28, allocations: 17.38 kB / 1.11 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/1.283, allocations: 0.748 MB / 1.11 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.285, allocations: 385.4 kB / 1.111 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.297, allocations: 15.76 MB / 1.126 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/1.299, allocations: 102.9 kB / 1.126 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/1.299, allocations: 71.66 kB / 1.126 GB, free: 37.38 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002557/1.302, allocations: 1.315 MB / 1.128 GB, free: 36.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/1.302, allocations: 203.1 kB / 1.128 GB, free: 36.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/1.307, allocations: 2.784 MB / 1.131 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.307, allocations: 14.16 kB / 1.131 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/1.308, allocations: 6.219 kB / 1.131 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.308, allocations: 7.969 kB / 1.131 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.319, allocations: 6.209 MB / 1.137 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.319, allocations: 9.188 kB / 1.137 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.32, allocations: 230 kB / 1.137 GB, free: 30.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/1.322, allocations: 0.6658 MB / 1.138 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.322, allocations: 32.97 kB / 1.138 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.334, allocations: 15.5 MB / 1.153 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/1.334, allocations: 9.281 kB / 1.153 GB, free: 16.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005676/1.34, allocations: 4.002 MB / 1.157 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.341, allocations: 452.2 kB / 1.157 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/1.341, allocations: 39.77 kB / 1.157 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/1.342, allocations: 78.73 kB / 1.157 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/1.343, allocations: 124.1 kB / 1.157 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/1.343, allocations: 40.94 kB / 1.157 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001398/1.344, allocations: 0.9757 MB / 1.158 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.344, allocations: 0 / 1.158 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002871/1.347, allocations: 0.6834 MB / 1.159 GB, free: 12.6 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005735/1.353, allocations: 4.598 MB / 1.163 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004676/1.357, allocations: 3.483 MB / 1.167 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.357, allocations: 3.938 kB / 1.167 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002913/1.36, allocations: 2.289 MB / 1.169 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/1.364, allocations: 0.6165 MB / 1.17 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03318/1.397, allocations: 17.77 MB / 1.187 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004339/1.401, allocations: 2.66 MB / 1.19 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001954/1.403, allocations: 493.3 kB / 1.19 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/1.405, allocations: 1.284 MB / 1.191 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of SimCode: time 1.473e-06/1.405, allocations: 4 kB / 1.191 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09423/1.5, allocations: 54.68 MB / 1.245 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.5, allocations: 244.6 kB / 1.245 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/5.016, allocations: 0 / 1.245 GB, free: 4.5 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)