Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9163/0.9163, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.954/1.954, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.621e-05, allocations: 2.312 kB / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01734/0.01737, allocations: 23.9 MB / 0.8354 GB, free: 9.438 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.03019, allocations: 7.546 MB / 0.8427 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/0.03424, allocations: 246.1 kB / 0.843 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.03809, allocations: 1.035 MB / 0.844 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006795/0.04488, allocations: 2.667 MB / 0.8466 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.05006, allocations: 2.632 MB / 0.8492 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.06184, allocations: 11.51 MB / 0.8604 GB, free: 15.77 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009663/0.07151, allocations: 6.574 MB / 0.8668 GB, free: 9.074 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/0.08347, allocations: 6.877 MB / 0.8735 GB, free: 2.184 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008108/0.09157, allocations: 5.425 MB / 0.8788 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002888/0.09446, allocations: 0.9453 MB / 0.8798 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.09839, allocations: 1.051 MB / 0.8808 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.005072/0.1035, allocations: 3.995 MB / 0.8847 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.006895/0.1104, allocations: 3.045 MB / 0.8877 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.121, allocations: 7.433 MB / 0.8949 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.121, allocations: 0 / 0.8949 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.292e-06/0.121, allocations: 0 / 0.8949 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004749/0.1215, allocations: 0 / 0.8949 GB, free: 12.24 MB / 0.8542 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.01334/0.1349, allocations: 7.768 MB / 0.9025 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1349, allocations: 8.031 kB / 0.9025 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.1402, allocations: 2.165 MB / 0.9046 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/0.1468, allocations: 3.915 MB / 0.9085 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.1471, allocations: 456.5 kB / 0.9089 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.1487, allocations: 0.6174 MB / 0.9095 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.1607, allocations: 6.495 MB / 0.9158 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.1609, allocations: 35.89 kB / 0.9159 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/0.162, allocations: 268.3 kB / 0.9161 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/0.1633, allocations: 0.6052 MB / 0.9167 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006598/0.1699, allocations: 2.104 MB / 0.9188 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03555/0.2055, allocations: 29.87 MB / 0.9479 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.2077, allocations: 1.929 MB / 0.9498 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.2093, allocations: 1.334 MB / 0.9511 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.2095, allocations: 58.78 kB / 0.9512 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.2095, allocations: 80.11 kB / 0.9513 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=353): time 5.781e-06/0.2095, allocations: 0 / 0.9513 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=578): time 0.06963/0.2791, allocations: 29.55 MB / 0.9801 GB, free: 2.902 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.2792, allocations: 119.9 kB / 0.9802 GB, free: 2.77 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.2818, allocations: 2.202 MB / 0.9824 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006869/0.2825, allocations: 117.7 kB / 0.9825 GB, free: 436 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.2842, allocations: 2.837 MB / 0.9853 GB, free: 13.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/0.2862, allocations: 2.107 MB / 0.9873 GB, free: 11.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/0.2878, allocations: 0.9584 MB / 0.9883 GB, free: 10.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2879, allocations: 480.7 kB / 0.9887 GB, free: 10 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.2896, allocations: 1.034 MB / 0.9897 GB, free: 8.961 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.2924, allocations: 2.338 MB / 0.992 GB, free: 6.184 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/0.2975, allocations: 4.038 MB / 0.9959 GB, free: 1.652 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/0.2975, allocations: 4 kB / 0.996 GB, free: 1.648 MB / 0.948 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01949/0.317, allocations: 8.275 MB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.3171, allocations: 16 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.095e-05/0.3171, allocations: 28.34 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01966/0.3368, allocations: 7.039 MB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.3384, allocations: 479.3 kB / 1.011 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04006/0.3784, allocations: 41.7 MB / 1.052 GB, free: 6.648 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.381, allocations: 136.1 kB / 1.052 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.3813, allocations: 152 kB / 1.052 GB, free: 6.367 MB / 1.01 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.001449/0.3828, allocations: 435.8 kB / 1.053 GB, free: 5.93 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.3839, allocations: 0.6455 MB / 1.053 GB, free: 5.281 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3577/0.7416, allocations: 8.116 MB / 1.061 GB, free: 226.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.972e-05/0.7416, allocations: 54.81 kB / 1.061 GB, free: 226.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002147/0.7419, allocations: 71.03 kB / 1.061 GB, free: 226.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/0.742, allocations: 32 kB / 1.062 GB, free: 226.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/0.7651, allocations: 12.49 MB / 1.074 GB, free: 224.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.7651, allocations: 12.59 kB / 1.074 GB, free: 224.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7662, allocations: 267.2 kB / 1.074 GB, free: 224.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/0.7817, allocations: 6.54 MB / 1.08 GB, free: 224.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006637/0.7824, allocations: 103.3 kB / 1.08 GB, free: 224.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04769/0.8301, allocations: 41.37 MB / 1.121 GB, free: 203.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.8301, allocations: 14.11 kB / 1.121 GB, free: 203.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.8463, allocations: 8.906 MB / 1.13 GB, free: 201.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/0.848, allocations: 1.064 MB / 1.131 GB, free: 200.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/0.8485, allocations: 110.1 kB / 1.131 GB, free: 200.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.8498, allocations: 106.5 kB / 1.131 GB, free: 200.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001685/0.8515, allocations: 0.5553 MB / 1.131 GB, free: 200.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/0.8517, allocations: 106.8 kB / 1.131 GB, free: 200.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008926/0.8526, allocations: 1.163 MB / 1.133 GB, free: 200 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8526, allocations: 0 / 1.133 GB, free: 200 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005336/0.8579, allocations: 2.469 MB / 1.135 GB, free: 199.8 MB / 1.01 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.0004751/0.8584, allocations: 246.2 kB / 1.135 GB, free: 199.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01006/0.8684, allocations: 8.849 MB / 1.144 GB, free: 195.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.8685, allocations: 3.75 kB / 1.144 GB, free: 195.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00793/0.8764, allocations: 7.103 MB / 1.151 GB, free: 191.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.8798, allocations: 1.272 MB / 1.152 GB, free: 191.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.896, allocations: 12.82 MB / 1.165 GB, free: 183.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/0.8985, allocations: 2.159 MB / 1.167 GB, free: 182.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001999/0.9005, allocations: 451.6 kB / 1.167 GB, free: 182 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/0.9024, allocations: 1.037 MB / 1.168 GB, free: 181.1 MB / 1.01 GB Notification: Performance of SimCode: time 3.126e-06/0.9024, allocations: 0 / 1.168 GB, free: 181.1 MB / 1.01 GB Notification: Performance of Templates: time 0.1527/1.055, allocations: 161.8 MB / 1.326 GB, free: 24.29 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.446951759047806]