Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.433/2.433, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 169.6 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.52/2.52, allocations: 205.4 MB / 0.5767 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000994/0.0009934, allocations: 90.3 kB / 0.6812 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004863, allocations: 14.44 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 106.3 MB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03522/0.2513, allocations: 24.22 MB / 0.9227 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2682, allocations: 7.727 MB / 0.9302 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.2711, allocations: 103.4 kB / 0.9303 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.2736, allocations: 0.5076 MB / 0.9308 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005571/0.2792, allocations: 1.286 MB / 0.9321 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005082/0.2844, allocations: 0.9864 MB / 0.9331 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00995/0.2944, allocations: 6.94 MB / 0.9398 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.018/0.3124, allocations: 8.557 MB / 0.9482 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.3169, allocations: 1.875 MB / 0.95 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004976/0.3219, allocations: 2.39 MB / 0.9524 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.3232, allocations: 216 kB / 0.9526 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.3264, allocations: 0.6048 MB / 0.9532 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00289/0.3293, allocations: 1.66 MB / 0.9548 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.3313, allocations: 0.8044 MB / 0.9556 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.008733/0.3401, allocations: 6.623 MB / 0.962 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3402, allocations: 3.938 kB / 0.962 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.005e-06/0.3402, allocations: 0 / 0.962 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002585/0.3404, allocations: 0 / 0.962 GB, free: 1.176 MB / 0.6042 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.01189/0.3524, allocations: 3.456 MB / 0.9654 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3524, allocations: 12.03 kB / 0.9654 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007166/0.3596, allocations: 0.8039 MB / 0.9662 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007942/0.3676, allocations: 2.363 MB / 0.9685 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/0.3681, allocations: 275.6 kB / 0.9688 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.3699, allocations: 376.5 kB / 0.9691 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.3888, allocations: 5.965 MB / 0.975 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001907/0.389, allocations: 15.84 kB / 0.975 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.3901, allocations: 160 kB / 0.9751 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/0.3914, allocations: 286.8 kB / 0.9754 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.4063, allocations: 4.5 MB / 0.9798 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04883/0.4552, allocations: 27.71 MB / 1.007 GB, free: 396 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.4584, allocations: 1.11 MB / 1.008 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.4612, allocations: 1.011 MB / 1.009 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.4614, allocations: 13 kB / 1.009 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.4615, allocations: 47.55 kB / 1.009 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 4.308e-06/0.4615, allocations: 0 / 1.009 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.04037/0.5019, allocations: 9.668 MB / 1.018 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.502, allocations: 64.72 kB / 1.018 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.5052, allocations: 1.486 MB / 1.02 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003435/0.5056, allocations: 49.7 kB / 1.02 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.5073, allocations: 1.667 MB / 1.022 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008363/0.5082, allocations: 465.4 kB / 1.022 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.5084, allocations: 40 kB / 1.022 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002523/0.5087, allocations: 377.8 kB / 1.022 GB, free: 124 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/0.5114, allocations: 0.9096 MB / 1.023 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003223/0.5146, allocations: 1.451 MB / 1.025 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.5179, allocations: 1.146 MB / 1.026 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.518, allocations: 8 kB / 1.026 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01191/0.5299, allocations: 3.27 MB / 1.029 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.53, allocations: 12 kB / 1.029 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.53, allocations: 20 kB / 1.029 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/0.5343, allocations: 0.7379 MB / 1.03 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/0.5378, allocations: 391.4 kB / 1.03 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/0.5632, allocations: 15.75 MB / 1.046 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.5658, allocations: 111.8 kB / 1.046 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.5661, allocations: 72 kB / 1.046 GB, free: 6.73 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 (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.003683/0.5698, allocations: 1.309 MB / 1.047 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006852/0.5705, allocations: 197.7 kB / 1.047 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009084/0.5796, allocations: 2.784 MB / 1.05 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.5797, allocations: 23.94 kB / 1.05 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/0.5797, allocations: 4.141 kB / 1.05 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/0.5798, allocations: 11.95 kB / 1.05 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6413/1.221, allocations: 6.207 MB / 1.056 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.221, allocations: 5.406 kB / 1.056 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.224, allocations: 229.9 kB / 1.056 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/1.227, allocations: 0.6686 MB / 1.057 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.227, allocations: 32.86 kB / 1.057 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/1.248, allocations: 15.51 MB / 1.072 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/1.249, allocations: 9.5 kB / 1.072 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.261, allocations: 3.996 MB / 1.076 GB, free: 125 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.262, allocations: 457.7 kB / 1.076 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004569/1.263, allocations: 33.75 kB / 1.076 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.264, allocations: 82.3 kB / 1.077 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005004/1.265, allocations: 116.1 kB / 1.077 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.265, allocations: 44.47 kB / 1.077 GB, free: 124.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002196/1.267, allocations: 0.9751 MB / 1.078 GB, free: 124.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.267, allocations: 1.625 kB / 1.078 GB, free: 124.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003677/1.271, allocations: 0.6854 MB / 1.078 GB, free: 124.5 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 (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.0004335/1.271, allocations: 155.4 kB / 1.078 GB, free: 124.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008257/1.28, allocations: 3.497 MB / 1.082 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/1.28, allocations: 1.531 kB / 1.082 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005148/1.285, allocations: 2.283 MB / 1.084 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/1.29, allocations: 0.6255 MB / 1.085 GB, free: 120.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/1.305, allocations: 7.839 MB / 1.092 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005403/1.311, allocations: 2.669 MB / 1.095 GB, free: 115.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002876/1.314, allocations: 487.9 kB / 1.095 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/1.315, allocations: 115.4 kB / 1.096 GB, free: 115.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.315, allocations: 0 / 1.096 GB, free: 115.1 MB / 0.698 GB Notification: Performance of Templates: time 0.08162/1.396, allocations: 31.2 MB / 1.126 GB, free: 89.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)