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.001625/0.001625, allocations: 71.75 kB / 20.97 MB, free: 3.574 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: 173 kB / 24.28 MB, free: 272 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 1.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.867/1.867, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.994e-06/1.994e-06, allocations: 0 / 0.8115 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.32e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03252/0.03254, allocations: 41.57 MB / 0.8521 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.05235, allocations: 15.52 MB / 0.8673 GB, free: 8.816 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004118/0.05646, allocations: 250.1 kB / 0.8675 GB, free: 8.57 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.007109/0.06357, allocations: 4.608 MB / 0.872 GB, free: 3.941 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007548/0.07112, allocations: 3.017 MB / 0.875 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006696/0.07782, allocations: 3.219 MB / 0.8781 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.09054, allocations: 11.66 MB / 0.8895 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00971/0.1003, allocations: 6.753 MB / 0.8961 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.1126, allocations: 6.935 MB / 0.9029 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009423/0.122, allocations: 5.39 MB / 0.9081 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.004818/0.1268, allocations: 0.9492 MB / 0.9091 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006247/0.133, allocations: 1.93 MB / 0.911 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00645/0.1395, allocations: 4.018 MB / 0.9149 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.008307/0.1478, allocations: 3.06 MB / 0.9179 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.1597, allocations: 7.982 MB / 0.9257 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1597, allocations: 0 / 0.9257 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1597, allocations: 0 / 0.9257 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003961/0.1601, allocations: 4 kB / 0.9257 GB, free: 12.77 MB / 0.8855 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.01332/0.1735, allocations: 8.006 MB / 0.9335 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1735, allocations: 12.03 kB / 0.9335 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008596/0.1821, allocations: 2.368 MB / 0.9358 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007995/0.1901, allocations: 4.302 MB / 0.94 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.1905, allocations: 452.5 kB / 0.9404 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.1919, allocations: 0.6213 MB / 0.941 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.2063, allocations: 6.965 MB / 0.9479 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.2065, allocations: 31.95 kB / 0.9479 GB, free: 5.133 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008219/0.2074, allocations: 260.3 kB / 0.9481 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/0.2093, allocations: 0.7807 MB / 0.9489 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.2194, allocations: 2.69 MB / 0.9515 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04426/0.2636, allocations: 31.81 MB / 0.9826 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.267, allocations: 2.155 MB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.2694, allocations: 1.534 MB / 0.9862 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.2696, allocations: 58.78 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.618e-05/0.2696, allocations: 80.16 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=353): time 6.513e-06/0.2696, allocations: 0 / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=578): time 0.08298/0.3526, allocations: 34.49 MB / 1.02 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.3527, allocations: 119.9 kB / 1.02 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.3553, allocations: 2.234 MB / 1.022 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/0.3564, allocations: 125.7 kB / 1.022 GB, free: 7.535 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.3578, allocations: 2.826 MB / 1.025 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/0.3595, allocations: 2.092 MB / 1.027 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.3608, allocations: 0.9355 MB / 1.028 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3609, allocations: 480.8 kB / 1.029 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.3633, allocations: 1.373 MB / 1.03 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.3663, allocations: 2.667 MB / 1.033 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/0.3724, allocations: 4.683 MB / 1.037 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.3724, allocations: 8 kB / 1.037 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02205/0.3945, allocations: 9.392 MB / 1.046 GB, free: 13.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.3945, allocations: 16.25 kB / 1.046 GB, free: 13.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.3945, allocations: 24 kB / 1.046 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/0.4201, allocations: 7.421 MB / 1.054 GB, free: 6.449 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.4221, allocations: 0.5265 MB / 1.054 GB, free: 5.922 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4335/0.8556, allocations: 44.28 MB / 1.097 GB, free: 238.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.8593, allocations: 294.3 kB / 1.098 GB, free: 238.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/0.8601, allocations: 193.7 kB / 1.098 GB, free: 238.4 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.00204/0.8621, allocations: 434 kB / 1.098 GB, free: 238 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.8632, allocations: 0.6434 MB / 1.099 GB, free: 237.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/0.8819, allocations: 9.122 MB / 1.108 GB, free: 235.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/0.8819, allocations: 55.5 kB / 1.108 GB, free: 235.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002199/0.8821, allocations: 71.5 kB / 1.108 GB, free: 235.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.71e-05/0.8822, allocations: 28.45 kB / 1.108 GB, free: 235.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03417/0.9164, allocations: 14.96 MB / 1.122 GB, free: 229.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-05/0.9164, allocations: 8.422 kB / 1.123 GB, free: 229.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.9176, allocations: 318.6 kB / 1.123 GB, free: 229.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01849/0.9361, allocations: 7.025 MB / 1.13 GB, free: 228.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008157/0.9369, allocations: 113.6 kB / 1.13 GB, free: 228.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04292/0.9798, allocations: 44.06 MB / 1.173 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.9799, allocations: 11.94 kB / 1.173 GB, free: 196 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.9994, allocations: 10.25 MB / 1.183 GB, free: 187.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002924/1.002, allocations: 1.2 MB / 1.184 GB, free: 186.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008846/1.003, allocations: 108 kB / 1.184 GB, free: 186 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.005, allocations: 291.6 kB / 1.184 GB, free: 185.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001757/1.007, allocations: 0.553 MB / 1.185 GB, free: 185.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.007, allocations: 144 kB / 1.185 GB, free: 185 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001376/1.009, allocations: 1.262 MB / 1.186 GB, free: 183.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.009, allocations: 0 / 1.186 GB, free: 183.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005866/1.015, allocations: 2.477 MB / 1.189 GB, free: 181.2 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.0005201/1.015, allocations: 246.4 kB / 1.189 GB, free: 181 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.027, allocations: 9.569 MB / 1.198 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.027, allocations: 0 / 1.198 GB, free: 171.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008998/1.036, allocations: 7.51 MB / 1.206 GB, free: 163.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/1.04, allocations: 1.278 MB / 1.207 GB, free: 162.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.057, allocations: 12.92 MB / 1.219 GB, free: 149.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/1.059, allocations: 2.159 MB / 1.222 GB, free: 146.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001686/1.061, allocations: 0.6181 MB / 1.222 GB, free: 146.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/1.061, allocations: 192.5 kB / 1.222 GB, free: 146.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.904e-06/1.061, allocations: 0 / 1.222 GB, free: 146.1 MB / 1.01 GB Notification: Performance of Templates: time 0.1417/1.203, allocations: 155.6 MB / 1.374 GB, free: 8.395 MB / 1.026 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.511079845018685]