Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 97.72 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.007812/0.007812, allocations: 170 kB / 16.27 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.708/2.708, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 8 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7107/0.7112, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04203/0.7532, allocations: 39.86 MB / 1.062 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02411/0.7774, allocations: 14.93 MB / 1.077 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00512/0.7825, allocations: 163.1 kB / 1.077 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003802/0.7864, allocations: 0.8567 MB / 1.078 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009666/0.7961, allocations: 2.644 MB / 1.08 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008573/0.8047, allocations: 2.71 MB / 1.083 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01925/0.8239, allocations: 16.01 MB / 1.098 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02765/0.8516, allocations: 15.78 MB / 1.114 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00823/0.8599, allocations: 3.532 MB / 1.117 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.8699, allocations: 4.757 MB / 1.122 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002859/0.8728, allocations: 396 kB / 1.122 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008059/0.8809, allocations: 1.829 MB / 1.124 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00621/0.8872, allocations: 3 MB / 1.127 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.008266/0.8955, allocations: 3.523 MB / 1.13 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.9131, allocations: 13.59 MB / 1.144 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.9131, allocations: 0 / 1.144 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.829e-06/0.9131, allocations: 3.938 kB / 1.144 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000436/0.9136, allocations: 7.938 kB / 1.144 GB, free: 3.777 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01717/0.9307, allocations: 6.154 MB / 1.15 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9308, allocations: 8.031 kB / 1.15 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.9427, allocations: 1.514 MB / 1.151 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.954, allocations: 4.213 MB / 1.155 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/0.9546, allocations: 456.5 kB / 1.156 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/0.9572, allocations: 0.59 MB / 1.156 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.9817, allocations: 10.69 MB / 1.167 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003161/0.9821, allocations: 27.78 kB / 1.167 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/0.9839, allocations: 267.9 kB / 1.167 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.987, allocations: 0.7729 MB / 1.168 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/1.006, allocations: 8.557 MB / 1.176 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08382/1.09, allocations: 47.01 MB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00799/1.098, allocations: 4.316 MB / 1.226 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006705/1.104, allocations: 3.677 MB / 1.23 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/1.105, allocations: 34.78 kB / 1.23 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/1.105, allocations: 77.34 kB / 1.23 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 5.821e-06/1.105, allocations: 4 kB / 1.23 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 1.157/2.262, allocations: 128.1 MB / 1.355 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/2.262, allocations: 111.9 kB / 1.355 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/2.266, allocations: 2.692 MB / 1.358 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001238/2.268, allocations: 121.7 kB / 1.358 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/2.269, allocations: 2.675 MB / 1.361 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00221/2.271, allocations: 1.961 MB / 1.362 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/2.272, allocations: 442 kB / 1.363 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/2.273, allocations: 301.1 kB / 1.363 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005857/2.278, allocations: 4.079 MB / 1.367 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/2.285, allocations: 5.015 MB / 1.372 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.297, allocations: 9.844 MB / 1.382 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/2.297, allocations: 14.38 kB / 1.382 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0382/2.336, allocations: 16.99 MB / 1.398 GB, free: 87.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/2.336, allocations: 12 kB / 1.398 GB, free: 87.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/2.336, allocations: 24 kB / 1.398 GB, free: 87.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03066/2.366, allocations: 9.086 MB / 1.407 GB, free: 77.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/2.369, allocations: 0.5226 MB / 1.408 GB, free: 77.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09335/2.462, allocations: 70.72 MB / 1.477 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005906/2.468, allocations: 279.7 kB / 1.477 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/2.469, allocations: 192 kB / 1.477 GB, free: 4.809 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006034/2.476, allocations: 2.427 MB / 1.48 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001879/2.477, allocations: 470.5 kB / 1.48 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04454/2.522, allocations: 16.81 MB / 1.496 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-05/2.522, allocations: 60 kB / 1.497 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002969/2.522, allocations: 75.98 kB / 1.497 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001505/2.523, allocations: 23.91 kB / 1.497 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06428/2.587, allocations: 25.69 MB / 1.522 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.214e-05/2.587, allocations: 8 kB / 1.522 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/2.589, allocations: 323.6 kB / 1.522 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03161/2.621, allocations: 8.273 MB / 1.53 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001535/2.622, allocations: 108 kB / 1.53 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1069/2.729, allocations: 67.59 MB / 1.596 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/2.729, allocations: 11.94 kB / 1.596 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0525/2.782, allocations: 21.57 MB / 1.617 GB, free: 3.156 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/2.786, allocations: 1.366 MB / 1.619 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/2.788, allocations: 108 kB / 1.619 GB, free: 1.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004979/2.793, allocations: 283.6 kB / 1.619 GB, free: 1.383 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002762/2.796, allocations: 0.5286 MB / 1.619 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009678/2.797, allocations: 143.9 kB / 1.62 GB, free: 0.707 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003724/2.801, allocations: 1.78 MB / 1.621 GB, free: 14.94 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.4e-07/2.801, allocations: 0 / 1.621 GB, free: 14.94 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0114/2.812, allocations: 2.465 MB / 1.624 GB, free: 12.47 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/2.814, allocations: 246.7 kB / 1.624 GB, free: 12.22 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02861/2.842, allocations: 14.52 MB / 1.638 GB, free: 13.51 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/2.842, allocations: 4 kB / 1.638 GB, free: 13.51 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.02017/2.862, allocations: 9.391 MB / 1.647 GB, free: 3.969 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/2.876, allocations: 1.279 MB / 1.649 GB, free: 2.703 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/2.91, allocations: 18.81 MB / 1.667 GB, free: 15.76 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007914/2.918, allocations: 4.896 MB / 1.672 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003347/2.921, allocations: 0.741 MB / 1.672 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008098/2.922, allocations: 199.4 kB / 1.673 GB, free: 9.883 MB / 1.201 GB Notification: Performance of SimCode: time 8.71e-07/2.922, allocations: 0 / 1.673 GB, free: 9.883 MB / 1.201 GB Notification: Performance of Templates: time 0.8921/3.814, allocations: 138.7 MB / 1.808 GB, free: 354 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches