Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001062/0.001062, allocations: 83.59 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.001059/0.001059, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9849/0.9849, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.905/1.905, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.81e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02044/0.02047, allocations: 24.56 MB / 0.8111 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.03509, allocations: 7.548 MB / 0.8185 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004921/0.04001, allocations: 246.1 kB / 0.8187 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.04362, allocations: 1.039 MB / 0.8197 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00737/0.05099, allocations: 2.66 MB / 0.8223 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005976/0.05696, allocations: 2.636 MB / 0.8249 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01504/0.072, allocations: 11.51 MB / 0.8361 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.08282, allocations: 6.574 MB / 0.8426 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01273/0.09555, allocations: 6.842 MB / 0.8493 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009571/0.1051, allocations: 5.386 MB / 0.8545 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.003324/0.1084, allocations: 0.9453 MB / 0.8554 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/0.1125, allocations: 1.051 MB / 0.8565 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.005499/0.118, allocations: 4.007 MB / 0.8604 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.007203/0.1252, allocations: 3.06 MB / 0.8634 GB, free: 14.11 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.1361, allocations: 7.464 MB / 0.8706 GB, free: 6.625 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.1361, allocations: 0 / 0.8706 GB, free: 6.625 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.1361, allocations: 0 / 0.8706 GB, free: 6.625 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004936/0.1366, allocations: 0 / 0.8706 GB, free: 6.625 MB / 0.823 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.01534/0.1519, allocations: 7.871 MB / 0.8783 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.152, allocations: 15.97 kB / 0.8784 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/0.1591, allocations: 2.368 MB / 0.8807 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009307/0.1684, allocations: 4.314 MB / 0.8849 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/0.1687, allocations: 456.5 kB / 0.8853 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.1702, allocations: 0.6173 MB / 0.8859 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.1837, allocations: 6.965 MB / 0.8927 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.1838, allocations: 31.94 kB / 0.8927 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005839/0.1844, allocations: 268.3 kB / 0.893 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/0.186, allocations: 0.7768 MB / 0.8938 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007265/0.1933, allocations: 2.694 MB / 0.8964 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03701/0.2303, allocations: 31.79 MB / 0.9274 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.2333, allocations: 2.161 MB / 0.9295 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/0.2355, allocations: 1.537 MB / 0.931 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.2357, allocations: 66.72 kB / 0.9311 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.236, allocations: 76.17 kB / 0.9312 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 6.953e-06/0.236, allocations: 0 / 0.9312 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.0848/0.3208, allocations: 34.49 MB / 0.9649 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.3209, allocations: 111.9 kB / 0.965 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.3241, allocations: 2.242 MB / 0.9672 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009517/0.3251, allocations: 121.7 kB / 0.9673 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.3266, allocations: 2.826 MB / 0.97 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002/0.3286, allocations: 2.092 MB / 0.9721 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.3299, allocations: 0.9393 MB / 0.973 GB, free: 11.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003161/0.3302, allocations: 480.8 kB / 0.9735 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.3325, allocations: 1.373 MB / 0.9748 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.3356, allocations: 2.674 MB / 0.9774 GB, free: 6.637 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006318/0.3419, allocations: 4.687 MB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.3419, allocations: 8 kB / 0.982 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02029/0.3622, allocations: 9.383 MB / 0.9912 GB, free: 7.934 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.3623, allocations: 17 kB / 0.9912 GB, free: 7.918 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.3623, allocations: 24 kB / 0.9912 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02136/0.3837, allocations: 7.425 MB / 0.9984 GB, free: 424 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.3856, allocations: 0.5227 MB / 0.999 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05493/0.4405, allocations: 44.28 MB / 1.042 GB, free: 2.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/0.4451, allocations: 283.6 kB / 1.042 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006997/0.4458, allocations: 192 kB / 1.043 GB, free: 1.766 MB / 0.9948 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.002322/0.4481, allocations: 431.9 kB / 1.043 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/0.4495, allocations: 0.6494 MB / 1.044 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/0.468, allocations: 9.113 MB / 1.053 GB, free: 7.406 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/0.4681, allocations: 56 kB / 1.053 GB, free: 7.352 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001976/0.4683, allocations: 75.94 kB / 1.053 GB, free: 7.277 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-05/0.4683, allocations: 27.95 kB / 1.053 GB, free: 7.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5249/0.9932, allocations: 14.95 MB / 1.067 GB, free: 243.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.9933, allocations: 8.594 kB / 1.067 GB, free: 243.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/0.9942, allocations: 323.1 kB / 1.068 GB, free: 243.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01722/1.011, allocations: 7.03 MB / 1.075 GB, free: 243.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/1.012, allocations: 103.4 kB / 1.075 GB, free: 243.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04756/1.059, allocations: 44.06 MB / 1.118 GB, free: 223.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.059, allocations: 14.84 kB / 1.118 GB, free: 223.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.078, allocations: 10.25 MB / 1.128 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.08, allocations: 1.204 MB / 1.129 GB, free: 221.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/1.081, allocations: 110.8 kB / 1.129 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.082, allocations: 285.2 kB / 1.129 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001811/1.084, allocations: 0.5576 MB / 1.13 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.084, allocations: 148.5 kB / 1.13 GB, free: 221.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00126/1.085, allocations: 1.259 MB / 1.131 GB, free: 221.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 1.75 kB / 1.131 GB, free: 221.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005154/1.091, allocations: 2.467 MB / 1.134 GB, free: 220.9 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.0004376/1.091, allocations: 243.6 kB / 1.134 GB, free: 220.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.103, allocations: 9.564 MB / 1.143 GB, free: 216.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.103, allocations: 4.562 kB / 1.143 GB, free: 216.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008409/1.111, allocations: 7.508 MB / 1.15 GB, free: 212.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/1.114, allocations: 1.28 MB / 1.152 GB, free: 211.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.13, allocations: 12.92 MB / 1.164 GB, free: 203.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.132, allocations: 2.16 MB / 1.166 GB, free: 201.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001232/1.133, allocations: 0.6136 MB / 1.167 GB, free: 201.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/1.133, allocations: 196.3 kB / 1.167 GB, free: 201.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.874e-06/1.133, allocations: 0 / 1.167 GB, free: 201.2 MB / 1.01 GB Notification: Performance of Templates: time 0.1466/1.28, allocations: 155.6 MB / 1.319 GB, free: 53.07 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 9.087499543093145]