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.001023/0.001023, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001556/0.001556, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9303/0.9303, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.691/1.691, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.332e-06/1.332e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.469e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01643/0.01644, allocations: 23.92 MB / 0.8117 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.02766, allocations: 7.537 MB / 0.8191 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.03008, allocations: 250.6 kB / 0.8193 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.03175, allocations: 1.032 MB / 0.8203 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.03531, allocations: 2.668 MB / 0.8229 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.0388, allocations: 2.64 MB / 0.8255 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009107/0.0479, allocations: 11.51 MB / 0.8367 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006541/0.05444, allocations: 6.563 MB / 0.8431 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006922/0.06137, allocations: 6.877 MB / 0.8498 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/0.06641, allocations: 5.429 MB / 0.8552 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0009946/0.0674, allocations: 0.9453 MB / 0.8561 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.0687, allocations: 1.039 MB / 0.8571 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002466/0.07117, allocations: 4.006 MB / 0.861 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.07403, allocations: 3.049 MB / 0.864 GB, free: 14.46 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005356/0.07938, allocations: 7.425 MB / 0.8712 GB, free: 7.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.07939, allocations: 0 / 0.8712 GB, free: 7.016 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.051e-06/0.07939, allocations: 0 / 0.8712 GB, free: 7.016 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001667/0.07956, allocations: 0 / 0.8712 GB, free: 7.016 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.009179/0.08873, allocations: 7.776 MB / 0.8788 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.08877, allocations: 8.031 kB / 0.8788 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.09365, allocations: 2.153 MB / 0.8809 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.09782, allocations: 3.927 MB / 0.8848 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.09803, allocations: 452.5 kB / 0.8852 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/0.09868, allocations: 0.6213 MB / 0.8858 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006355/0.105, allocations: 6.488 MB / 0.8921 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.1051, allocations: 35.94 kB / 0.8922 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/0.1057, allocations: 272.2 kB / 0.8924 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001162/0.1068, allocations: 0.6013 MB / 0.893 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.1099, allocations: 2.112 MB / 0.8951 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0306/0.1405, allocations: 29.86 MB / 0.9242 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.1423, allocations: 1.931 MB / 0.9261 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.1436, allocations: 1.315 MB / 0.9274 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.1438, allocations: 62.77 kB / 0.9275 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.1439, allocations: 80.17 kB / 0.9276 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 4.799e-06/0.1439, allocations: 4 kB / 0.9276 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.06432/0.2082, allocations: 29.55 MB / 0.9564 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.2082, allocations: 111.9 kB / 0.9565 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.2101, allocations: 2.198 MB / 0.9587 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003341/0.2104, allocations: 121.7 kB / 0.9588 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.2117, allocations: 2.841 MB / 0.9616 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.2131, allocations: 2.103 MB / 0.9636 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.2143, allocations: 0.9662 MB / 0.9646 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2144, allocations: 476.8 kB / 0.965 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.2157, allocations: 1.03 MB / 0.966 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.2176, allocations: 2.346 MB / 0.9683 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.2214, allocations: 4.031 MB / 0.9722 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.2214, allocations: 4 kB / 0.9722 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01454/0.236, allocations: 8.279 MB / 0.9803 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.236, allocations: 16 kB / 0.9803 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.236, allocations: 20 kB / 0.9804 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01686/0.2529, allocations: 7.035 MB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.2542, allocations: 483.2 kB / 0.9877 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03886/0.2931, allocations: 41.66 MB / 1.028 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.2959, allocations: 132 kB / 1.029 GB, free: 1.352 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.2962, allocations: 148 kB / 1.029 GB, free: 1.207 MB / 0.9792 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.001547/0.2977, allocations: 435.8 kB / 1.029 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/0.2986, allocations: 0.6455 MB / 1.03 GB, free: 124 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.3131, allocations: 8.117 MB / 1.038 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.3131, allocations: 56 kB / 1.038 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000167/0.3133, allocations: 72 kB / 1.038 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.3133, allocations: 27.89 kB / 1.038 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/0.3351, allocations: 12.49 MB / 1.05 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.3351, allocations: 4 kB / 1.05 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.336, allocations: 271.6 kB / 1.05 GB, free: 10.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01598/0.352, allocations: 6.542 MB / 1.057 GB, free: 4.016 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004809/0.3525, allocations: 100 kB / 1.057 GB, free: 3.918 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3843/0.7368, allocations: 41.33 MB / 1.097 GB, free: 231.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7368, allocations: 12.16 kB / 1.097 GB, free: 231.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.7527, allocations: 8.89 MB / 1.106 GB, free: 230.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.7544, allocations: 1.072 MB / 1.107 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005444/0.7549, allocations: 109.9 kB / 1.107 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.7563, allocations: 107.5 kB / 1.107 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/0.758, allocations: 0.55 MB / 1.108 GB, free: 229.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/0.7583, allocations: 104.6 kB / 1.108 GB, free: 229.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001115/0.7594, allocations: 1.168 MB / 1.109 GB, free: 229.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7594, allocations: 0 / 1.109 GB, free: 229.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006004/0.7654, allocations: 2.469 MB / 1.111 GB, free: 229.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.0004936/0.7659, allocations: 245.8 kB / 1.111 GB, free: 229.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.7764, allocations: 8.866 MB / 1.12 GB, free: 226.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.7764, allocations: 2.688 kB / 1.12 GB, free: 226.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007915/0.7843, allocations: 7.083 MB / 1.127 GB, free: 224 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/0.7877, allocations: 1.283 MB / 1.128 GB, free: 223.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.8037, allocations: 12.82 MB / 1.141 GB, free: 217.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.8058, allocations: 2.153 MB / 1.143 GB, free: 216.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001196/0.807, allocations: 454.5 kB / 1.143 GB, free: 216.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.8084, allocations: 1.035 MB / 1.144 GB, free: 216.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.623e-06/0.8084, allocations: 0 / 1.144 GB, free: 216.4 MB / 1.01 GB Notification: Performance of Templates: time 0.1434/0.9518, allocations: 164.7 MB / 1.305 GB, free: 67.92 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: 8.461938960012048]