Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001425, allocations: 191.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7798, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0327/0.8125, allocations: 26.44 MB / 1.042 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.8275, allocations: 8.071 MB / 1.05 GB, free: 164 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.8304, allocations: 107.4 kB / 1.05 GB, free: 56 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.008281/0.8387, allocations: 2.576 MB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.8464, allocations: 1.497 MB / 1.054 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006563/0.853, allocations: 1.522 MB / 1.056 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.8674, allocations: 8.7 MB / 1.064 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01938/0.8868, allocations: 8.198 MB / 1.072 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.8929, allocations: 2.183 MB / 1.075 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007157/0.9001, allocations: 2.889 MB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.9023, allocations: 344 kB / 1.078 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.9075, allocations: 1.33 MB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003351/0.9109, allocations: 1.879 MB / 1.081 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005169/0.9161, allocations: 2.193 MB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008091/0.9242, allocations: 7.918 MB / 1.091 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9242, allocations: 0 / 1.091 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9243, allocations: 0 / 1.091 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001579/0.9244, allocations: 0 / 1.091 GB, free: 6.648 MB / 0.8419 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.00883/0.9333, allocations: 4.232 MB / 1.095 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9333, allocations: 8.031 kB / 1.095 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/0.9375, allocations: 0.8 MB / 1.096 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.9419, allocations: 2.424 MB / 1.098 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.9422, allocations: 275.6 kB / 1.098 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/0.9429, allocations: 376.5 kB / 1.099 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.9536, allocations: 5.996 MB / 1.104 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.773e-05/0.9538, allocations: 19.72 kB / 1.104 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.9542, allocations: 160 kB / 1.105 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006545/0.9548, allocations: 290.9 kB / 1.105 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00794/0.9628, allocations: 4.52 MB / 1.109 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.031/0.9938, allocations: 27.66 MB / 1.136 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.9955, allocations: 1.121 MB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.9969, allocations: 1.015 MB / 1.138 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/0.9969, allocations: 13 kB / 1.138 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.997, allocations: 51.55 kB / 1.138 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 4.699e-06/0.997, allocations: 0 / 1.138 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02198/1.019, allocations: 9.668 MB / 1.148 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.019, allocations: 68.72 kB / 1.148 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/1.021, allocations: 1.494 MB / 1.149 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.021, allocations: 45.7 kB / 1.149 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.023, allocations: 1.671 MB / 1.151 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/1.023, allocations: 465.4 kB / 1.152 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005485/1.024, allocations: 335.1 kB / 1.152 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.024, allocations: 305.1 kB / 1.152 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.025, allocations: 0.9135 MB / 1.153 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/1.027, allocations: 1.459 MB / 1.154 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/1.03, allocations: 2.554 MB / 1.157 GB, free: 15.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.03, allocations: 8 kB / 1.157 GB, free: 15.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00567/1.036, allocations: 3.282 MB / 1.16 GB, free: 11.78 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/1.036, allocations: 12 kB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.036, allocations: 20 kB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/1.038, allocations: 0.7379 MB / 1.161 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.04, allocations: 383.4 kB / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.055, allocations: 15.77 MB / 1.177 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.056, allocations: 103.8 kB / 1.177 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.057, allocations: 76.19 kB / 1.177 GB, free: 9.457 MB / 0.9356 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.00226/1.059, allocations: 1.318 MB / 1.178 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/1.059, allocations: 201.7 kB / 1.178 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/1.064, allocations: 2.784 MB / 1.181 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.064, allocations: 16 kB / 1.181 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.064, allocations: 15.98 kB / 1.181 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/1.064, allocations: 3.984 kB / 1.181 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.075, allocations: 6.228 MB / 1.187 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.075, allocations: 4 kB / 1.187 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/1.076, allocations: 223.7 kB / 1.187 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/1.078, allocations: 0.6716 MB / 1.188 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.078, allocations: 35.98 kB / 1.188 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/1.093, allocations: 15.51 MB / 1.203 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/1.093, allocations: 11.88 kB / 1.203 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/1.1, allocations: 4 MB / 1.207 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.101, allocations: 454.6 kB / 1.208 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/1.101, allocations: 31.98 kB / 1.208 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/1.102, allocations: 83.89 kB / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/1.102, allocations: 120.9 kB / 1.208 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/1.102, allocations: 39.94 kB / 1.208 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001476/1.104, allocations: 0.9942 MB / 1.209 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/1.104, allocations: 4 kB / 1.209 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002462/1.106, allocations: 0.6875 MB / 1.209 GB, free: 6.473 MB / 0.9669 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.0002858/1.107, allocations: 155 kB / 1.21 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005352/1.112, allocations: 3.499 MB / 1.213 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.112, allocations: 8.812 kB / 1.213 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003115/1.115, allocations: 2.291 MB / 1.215 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.118, allocations: 0.6213 MB / 1.216 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.13, allocations: 8.104 MB / 1.224 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/1.133, allocations: 2.676 MB / 1.226 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002042/1.135, allocations: 473.4 kB / 1.227 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/1.135, allocations: 123.4 kB / 1.227 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.434e-06/1.135, allocations: 0 / 1.227 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.6059/1.741, allocations: 32.57 MB / 1.259 GB, free: 203.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches