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.0009789/0.0009789, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001627/0.001627, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9867/0.9867, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.879/1.879, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.815e-06/2.815e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.344e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02177/0.02181, allocations: 24.58 MB / 0.8356 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.03498, allocations: 7.546 MB / 0.8429 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/0.03898, allocations: 246.1 kB / 0.8432 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002931/0.04191, allocations: 1.035 MB / 0.8442 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005789/0.0477, allocations: 2.67 MB / 0.8468 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.05269, allocations: 2.625 MB / 0.8493 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01358/0.06627, allocations: 11.51 MB / 0.8606 GB, free: 15.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.07663, allocations: 6.57 MB / 0.867 GB, free: 8.703 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.0928, allocations: 6.838 MB / 0.8737 GB, free: 1.852 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008494/0.1013, allocations: 5.386 MB / 0.8789 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003053/0.1043, allocations: 0.9492 MB / 0.8799 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.1082, allocations: 1.054 MB / 0.8809 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.005267/0.1135, allocations: 4.01 MB / 0.8848 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.1199, allocations: 3.06 MB / 0.8878 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.1301, allocations: 7.456 MB / 0.8951 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1301, allocations: 0 / 0.8951 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1301, allocations: 0 / 0.8951 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004452/0.1306, allocations: 0 / 0.8951 GB, free: 11.89 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.01478/0.1453, allocations: 7.879 MB / 0.9028 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1454, allocations: 8.031 kB / 0.9028 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008219/0.1536, allocations: 2.368 MB / 0.9051 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/0.1616, allocations: 4.318 MB / 0.9093 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.162, allocations: 460.4 kB / 0.9098 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.1638, allocations: 0.6173 MB / 0.9104 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.1779, allocations: 6.965 MB / 0.9172 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.1781, allocations: 35.94 kB / 0.9172 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008828/0.179, allocations: 264.3 kB / 0.9174 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/0.1805, allocations: 0.7768 MB / 0.9182 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009334/0.1899, allocations: 2.686 MB / 0.9208 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/0.2359, allocations: 31.8 MB / 0.9519 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.2396, allocations: 2.154 MB / 0.954 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.2425, allocations: 1.53 MB / 0.9555 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.2428, allocations: 62.72 kB / 0.9555 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.835e-05/0.2428, allocations: 80.11 kB / 0.9556 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=353): time 6.552e-06/0.2428, allocations: 0 / 0.9556 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578): time 0.08316/0.326, allocations: 34.5 MB / 0.9893 GB, free: 9.281 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.3261, allocations: 111.9 kB / 0.9894 GB, free: 9.156 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.3285, allocations: 2.234 MB / 0.9916 GB, free: 6.902 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008191/0.3294, allocations: 125.7 kB / 0.9917 GB, free: 6.773 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.3308, allocations: 2.826 MB / 0.9945 GB, free: 3.926 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/0.3327, allocations: 2.088 MB / 0.9965 GB, free: 1.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.334, allocations: 0.9393 MB / 0.9974 GB, free: 0.8711 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3341, allocations: 480.8 kB / 0.9979 GB, free: 408 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.3364, allocations: 1.373 MB / 0.9992 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.3394, allocations: 2.67 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005778/0.3451, allocations: 4.687 MB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/0.3452, allocations: 8 kB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02299/0.3682, allocations: 9.388 MB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.3682, allocations: 18.64 kB / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/0.3682, allocations: 24 kB / 1.016 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02615/0.3944, allocations: 7.425 MB / 1.023 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.3964, allocations: 0.5226 MB / 1.023 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4434/0.8399, allocations: 44.29 MB / 1.067 GB, free: 215 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004067/0.8439, allocations: 278.2 kB / 1.067 GB, free: 215 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/0.8444, allocations: 188 kB / 1.067 GB, free: 215 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.001773/0.8462, allocations: 438.6 kB / 1.068 GB, free: 214.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.8473, allocations: 0.6329 MB / 1.068 GB, free: 214.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/0.866, allocations: 9.124 MB / 1.077 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/0.866, allocations: 55.75 kB / 1.077 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001868/0.8662, allocations: 71.81 kB / 1.077 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-05/0.8663, allocations: 26.34 kB / 1.077 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0278/0.8941, allocations: 14.96 MB / 1.092 GB, free: 212.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.8941, allocations: 8.062 kB / 1.092 GB, free: 212.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.8953, allocations: 323 kB / 1.092 GB, free: 212.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02066/0.916, allocations: 7.027 MB / 1.099 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009779/0.917, allocations: 106.4 kB / 1.099 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04669/0.9636, allocations: 44.06 MB / 1.142 GB, free: 188.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.9636, allocations: 11.5 kB / 1.142 GB, free: 188.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/0.983, allocations: 10.26 MB / 1.152 GB, free: 185.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/0.9856, allocations: 1.198 MB / 1.153 GB, free: 184.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007297/0.9863, allocations: 113.8 kB / 1.153 GB, free: 184.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.9882, allocations: 296 kB / 1.154 GB, free: 184.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002059/0.9902, allocations: 0.5549 MB / 1.154 GB, free: 184.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/0.9905, allocations: 140.6 kB / 1.154 GB, free: 184.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001409/0.9919, allocations: 1.265 MB / 1.156 GB, free: 183.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9919, allocations: 0 / 1.156 GB, free: 183.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006715/0.9986, allocations: 2.47 MB / 1.158 GB, free: 183.5 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.0006901/0.9993, allocations: 241.2 kB / 1.158 GB, free: 183.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.012, allocations: 9.567 MB / 1.168 GB, free: 178.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.012, allocations: 4 kB / 1.168 GB, free: 178.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01012/1.022, allocations: 7.505 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.004237/1.026, allocations: 1.267 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.01733/1.044, 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.002576/1.046, allocations: 2.16 MB / 1.191 GB, free: 157.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001761/1.048, allocations: 0.6146 MB / 1.191 GB, free: 157.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/1.048, allocations: 188.2 kB / 1.192 GB, free: 157.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.204e-06/1.048, allocations: 0 / 1.192 GB, free: 157.2 MB / 1.01 GB Notification: Performance of Templates: time 0.1435/1.192, allocations: 155.6 MB / 1.344 GB, free: 5.379 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.820815544109792]