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.001325/0.001325, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001383/0.001383, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9027/0.9027, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.859/1.859, allocations: 377.9 MB / 0.6236 GB, free: 8.527 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 2.184e-06/2.184e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.194e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02913/0.02917, allocations: 24.57 MB / 0.8356 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.04666, allocations: 7.551 MB / 0.8429 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006234/0.05289, allocations: 246.1 kB / 0.8432 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004746/0.05764, allocations: 1.035 MB / 0.8442 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.009129/0.06677, allocations: 2.669 MB / 0.8468 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.07238, allocations: 2.629 MB / 0.8494 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.08462, allocations: 11.51 MB / 0.8606 GB, free: 15.36 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.09463, allocations: 6.57 MB / 0.867 GB, free: 8.664 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.1057, allocations: 6.877 MB / 0.8737 GB, free: 1.773 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007167/0.1129, allocations: 5.421 MB / 0.879 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/0.1152, allocations: 0.953 MB / 0.88 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.1181, allocations: 1.047 MB / 0.881 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003914/0.1221, allocations: 3.991 MB / 0.8849 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.005105/0.1272, allocations: 3.049 MB / 0.8879 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009053/0.1362, allocations: 7.433 MB / 0.8951 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1362, allocations: 0 / 0.8951 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1362, allocations: 4 kB / 0.8951 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003903/0.1366, allocations: 0 / 0.8951 GB, free: 11.82 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.0123/0.1489, allocations: 7.875 MB / 0.9028 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.149, allocations: 12.03 kB / 0.9028 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.1553, allocations: 2.278 MB / 0.905 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.1612, allocations: 4.247 MB / 0.9092 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.1615, allocations: 456.5 kB / 0.9096 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008056/0.1623, allocations: 0.6173 MB / 0.9102 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009962/0.1722, allocations: 6.961 MB / 0.917 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.1724, allocations: 39.89 kB / 0.9171 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005045/0.1729, allocations: 264.3 kB / 0.9173 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/0.1744, allocations: 0.7768 MB / 0.9181 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005934/0.1803, allocations: 2.69 MB / 0.9207 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.2146, allocations: 31.8 MB / 0.9518 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.2174, allocations: 2.155 MB / 0.9539 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.2194, allocations: 1.541 MB / 0.9554 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.2196, allocations: 54.78 kB / 0.9554 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.2197, allocations: 80.17 kB / 0.9555 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=353): time 5.33e-06/0.2197, allocations: 0 / 0.9555 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578): time 0.07652/0.2962, allocations: 34.5 MB / 0.9892 GB, free: 9.367 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.2963, allocations: 107.9 kB / 0.9893 GB, free: 9.246 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.2985, allocations: 2.242 MB / 0.9915 GB, free: 6.984 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007098/0.2993, allocations: 121.7 kB / 0.9916 GB, free: 6.859 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.3006, allocations: 2.829 MB / 0.9944 GB, free: 4.008 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/0.3026, allocations: 2.088 MB / 0.9964 GB, free: 1.902 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.3038, allocations: 0.9393 MB / 0.9973 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.3039, allocations: 476.8 kB / 0.9978 GB, free: 496 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.3061, allocations: 1.377 MB / 0.9991 GB, free: 15.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.3091, allocations: 2.667 MB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00567/0.3148, allocations: 4.687 MB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.3148, allocations: 8 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01905/0.3339, allocations: 9.388 MB / 1.015 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.3339, allocations: 19.98 kB / 1.015 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.334, allocations: 20 kB / 1.016 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0206/0.3546, allocations: 7.422 MB / 1.023 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.3562, allocations: 0.5226 MB / 1.023 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.41/0.7662, allocations: 44.28 MB / 1.067 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.7693, allocations: 283.6 kB / 1.067 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005609/0.7699, allocations: 191 kB / 1.067 GB, free: 215.2 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.001588/0.7715, allocations: 438.3 kB / 1.067 GB, free: 215 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009065/0.7724, allocations: 0.6383 MB / 1.068 GB, free: 215 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.7882, allocations: 9.125 MB / 1.077 GB, free: 214.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.7882, allocations: 53.25 kB / 1.077 GB, free: 214.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001363/0.7883, allocations: 72.62 kB / 1.077 GB, free: 214.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/0.7884, allocations: 32.48 kB / 1.077 GB, free: 214.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/0.8141, allocations: 14.96 MB / 1.092 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.8141, allocations: 9.25 kB / 1.092 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.8151, allocations: 321.8 kB / 1.092 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01874/0.8339, allocations: 7.026 MB / 1.099 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006115/0.8345, allocations: 105.4 kB / 1.099 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0432/0.8777, allocations: 44.06 MB / 1.142 GB, free: 188.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8777, allocations: 14 kB / 1.142 GB, free: 188.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.8963, allocations: 10.25 MB / 1.152 GB, free: 185.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.8985, allocations: 1.204 MB / 1.153 GB, free: 184.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006671/0.8991, allocations: 112.7 kB / 1.153 GB, free: 184.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.901, allocations: 288.5 kB / 1.154 GB, free: 184.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/0.9028, allocations: 0.5487 MB / 1.154 GB, free: 184.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/0.903, allocations: 148.2 kB / 1.154 GB, free: 184.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001278/0.9043, allocations: 1.268 MB / 1.155 GB, free: 183.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9043, allocations: 0 / 1.155 GB, free: 183.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006495/0.9108, allocations: 2.468 MB / 1.158 GB, free: 183.6 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.0005721/0.9114, allocations: 242.7 kB / 1.158 GB, free: 183.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01263/0.924, allocations: 9.568 MB / 1.167 GB, free: 179 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.924, allocations: 4 kB / 1.167 GB, free: 179 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/0.9355, allocations: 7.502 MB / 1.175 GB, free: 172.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004852/0.9403, allocations: 1.266 MB / 1.176 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.9615, allocations: 12.93 MB / 1.189 GB, free: 159.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/0.965, allocations: 2.156 MB / 1.191 GB, free: 157.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002083/0.9671, allocations: 0.6105 MB / 1.191 GB, free: 157.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.9676, allocations: 191.9 kB / 1.192 GB, free: 157.3 MB / 1.01 GB Notification: Performance of SimCode: time 2.675e-06/0.9676, allocations: 0 / 1.192 GB, free: 157.3 MB / 1.01 GB Notification: Performance of Templates: time 0.1523/1.12, allocations: 159.4 MB / 1.347 GB, free: 1.645 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.295379470102489]