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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008886/0.0008887, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004554, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.729, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03942/0.7685, allocations: 39.86 MB / 1.063 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.7921, allocations: 14.93 MB / 1.077 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005016/0.7972, allocations: 159.1 kB / 1.077 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.8002, allocations: 0.8567 MB / 1.078 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008297/0.8085, allocations: 2.64 MB / 1.081 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007628/0.8162, allocations: 2.704 MB / 1.083 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0177/0.8339, allocations: 16.01 MB / 1.099 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02482/0.8588, allocations: 15.77 MB / 1.114 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007347/0.8662, allocations: 3.532 MB / 1.118 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008989/0.8752, allocations: 4.765 MB / 1.123 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002215/0.8775, allocations: 400 kB / 1.123 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005677/0.8832, allocations: 1.821 MB / 1.125 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00509/0.8883, allocations: 3.008 MB / 1.128 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00775/0.8961, allocations: 3.519 MB / 1.131 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.9106, allocations: 11.8 MB / 1.143 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.9107, allocations: 0 / 1.143 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9107, allocations: 0 / 1.143 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004571/0.9111, allocations: 0 / 1.143 GB, free: 5.66 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.01681/0.928, allocations: 6.158 MB / 1.149 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.928, allocations: 8.031 kB / 1.149 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.9389, allocations: 1.518 MB / 1.15 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008678/0.9476, allocations: 4.209 MB / 1.154 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.948, allocations: 456.5 kB / 1.155 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/0.9502, allocations: 0.5978 MB / 1.155 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02534/0.9755, allocations: 10.69 MB / 1.166 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.9758, allocations: 27.72 kB / 1.166 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.9769, allocations: 263.9 kB / 1.166 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/0.9798, allocations: 0.7768 MB / 1.167 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/0.9984, allocations: 8.557 MB / 1.175 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06454/1.063, allocations: 47 MB / 1.221 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006464/1.069, allocations: 4.323 MB / 1.225 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00599/1.075, allocations: 3.674 MB / 1.229 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/1.076, allocations: 38.77 kB / 1.229 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/1.076, allocations: 73.34 kB / 1.229 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 4.99e-06/1.076, allocations: 0 / 1.229 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 1.167/2.243, allocations: 128.1 MB / 1.354 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/2.243, allocations: 111.9 kB / 1.354 GB, free: 134 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/2.246, allocations: 2.689 MB / 1.357 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/2.248, allocations: 125.7 kB / 1.357 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/2.249, allocations: 2.67 MB / 1.359 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/2.251, allocations: 1.953 MB / 1.361 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006783/2.252, allocations: 449.9 kB / 1.362 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/2.252, allocations: 305.1 kB / 1.362 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/2.257, allocations: 4.075 MB / 1.366 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005646/2.262, allocations: 5.019 MB / 1.371 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/2.275, allocations: 9.852 MB / 1.381 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/2.275, allocations: 7.938 kB / 1.381 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03629/2.311, allocations: 16.99 MB / 1.397 GB, free: 89.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/2.311, allocations: 22.09 kB / 1.397 GB, free: 89.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/2.311, allocations: 24 kB / 1.397 GB, free: 89.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0292/2.341, allocations: 9.081 MB / 1.406 GB, free: 79.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/2.343, allocations: 0.5226 MB / 1.407 GB, free: 79.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08457/2.428, allocations: 70.72 MB / 1.476 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/2.433, allocations: 279.9 kB / 1.476 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/2.434, allocations: 188 kB / 1.476 GB, free: 6.727 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.00506/2.439, allocations: 2.426 MB / 1.479 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/2.441, allocations: 470.5 kB / 1.479 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03896/2.48, allocations: 16.82 MB / 1.495 GB, free: 2.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/2.48, allocations: 56 kB / 1.495 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002357/2.48, allocations: 72 kB / 1.496 GB, free: 2.742 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/2.48, allocations: 27.89 kB / 1.496 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05672/2.537, allocations: 25.7 MB / 1.521 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-05/2.537, allocations: 4 kB / 1.521 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/2.539, allocations: 315.6 kB / 1.521 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0297/2.568, allocations: 8.275 MB / 1.529 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001356/2.57, allocations: 104 kB / 1.529 GB, free: 48 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09602/2.666, allocations: 67.59 MB / 1.595 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/2.666, allocations: 8.125 kB / 1.595 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04629/2.712, allocations: 21.58 MB / 1.616 GB, free: 5.059 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004193/2.716, allocations: 1.365 MB / 1.618 GB, free: 3.672 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/2.718, allocations: 108 kB / 1.618 GB, free: 3.566 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004397/2.722, allocations: 287.6 kB / 1.618 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002695/2.725, allocations: 0.5221 MB / 1.618 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007152/2.726, allocations: 147.9 kB / 1.619 GB, free: 2.609 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004057/2.73, allocations: 1.776 MB / 1.62 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/2.73, allocations: 0 / 1.62 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.01274/2.743, allocations: 2.461 MB / 1.623 GB, free: 14.38 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.001481/2.744, allocations: 250.9 kB / 1.623 GB, free: 14.13 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.03046/2.775, allocations: 14.51 MB / 1.637 GB, free: 15.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/2.775, allocations: 4 kB / 1.637 GB, free: 15.42 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.02149/2.796, allocations: 9.395 MB / 1.646 GB, free: 5.883 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/2.807, allocations: 1.298 MB / 1.648 GB, free: 4.602 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/2.841, allocations: 19.72 MB / 1.667 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008088/2.849, allocations: 4.991 MB / 1.672 GB, free: 11.71 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/2.851, allocations: 219.4 kB / 1.672 GB, free: 11.49 MB / 1.201 GB Notification: Performance of SimCode: time 9.41e-07/2.851, allocations: 0 / 1.672 GB, free: 11.49 MB / 1.201 GB Notification: Performance of Templates: time 0.9585/3.809, allocations: 473.7 MB / 2.134 GB, free: 14.2 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/jenkins1/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