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.0008741/0.0008741, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.00146/0.00146, allocations: 161 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 1.043/1.043, 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 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.781/1.781, allocations: 359 MB / 0.6052 GB, free: 11.03 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.513e-06/1.513e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.155e-05, allocations: 3.375 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01817/0.01819, allocations: 24.59 MB / 0.8111 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.03025, allocations: 7.553 MB / 0.8185 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.0336, allocations: 246.1 kB / 0.8187 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.03601, allocations: 1.033 MB / 0.8197 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005088/0.0411, allocations: 2.669 MB / 0.8224 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.04553, allocations: 2.629 MB / 0.8249 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.05664, allocations: 11.51 MB / 0.8362 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008393/0.06504, allocations: 6.57 MB / 0.8426 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009231/0.07427, allocations: 6.873 MB / 0.8493 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007237/0.0815, allocations: 5.421 MB / 0.8546 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002324/0.08383, allocations: 0.9453 MB / 0.8555 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.08614, allocations: 1.058 MB / 0.8565 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003509/0.08965, allocations: 3.991 MB / 0.8604 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004485/0.09414, allocations: 3.045 MB / 0.8634 GB, free: 14.07 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008083/0.1022, allocations: 7.437 MB / 0.8707 GB, free: 6.613 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1022, allocations: 0 / 0.8707 GB, free: 6.613 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1022, allocations: 0 / 0.8707 GB, free: 6.613 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000376/0.1026, allocations: 0 / 0.8707 GB, free: 6.613 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.01127/0.1139, allocations: 7.871 MB / 0.8784 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1139, allocations: 11.97 kB / 0.8784 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005068/0.119, allocations: 2.29 MB / 0.8806 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.1242, allocations: 4.244 MB / 0.8848 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.1244, allocations: 452.5 kB / 0.8852 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009031/0.1253, allocations: 0.6174 MB / 0.8858 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.1355, allocations: 6.969 MB / 0.8926 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.1357, allocations: 31.91 kB / 0.8926 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005487/0.1362, allocations: 264.3 kB / 0.8929 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001446/0.1377, allocations: 0.7768 MB / 0.8936 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00654/0.1442, allocations: 2.697 MB / 0.8963 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/0.1752, allocations: 31.8 MB / 0.9273 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.1781, allocations: 2.15 MB / 0.9294 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.1801, allocations: 1.533 MB / 0.9309 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.1802, allocations: 58.78 kB / 0.931 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.1803, allocations: 80.16 kB / 0.9311 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 7.564e-06/0.1803, allocations: 4 kB / 0.9311 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.09394/0.2742, allocations: 34.48 MB / 0.9647 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.2743, allocations: 115.9 kB / 0.9648 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.2767, allocations: 2.234 MB / 0.967 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009282/0.2777, allocations: 125.6 kB / 0.9671 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.2794, allocations: 2.837 MB / 0.9699 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002087/0.2814, allocations: 2.084 MB / 0.972 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.2832, allocations: 0.9472 MB / 0.9729 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2833, allocations: 476.8 kB / 0.9733 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/0.286, allocations: 1.373 MB / 0.9747 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005694/0.2917, allocations: 2.667 MB / 0.9773 GB, free: 6.789 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009437/0.3012, allocations: 4.687 MB / 0.9819 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.3012, allocations: 4 kB / 0.9819 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03281/0.334, allocations: 9.396 MB / 0.991 GB, free: 8.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.334, allocations: 16 kB / 0.991 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.3341, allocations: 20 kB / 0.9911 GB, free: 8.035 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01959/0.3537, allocations: 7.416 MB / 0.9983 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.3553, allocations: 0.5226 MB / 0.9988 GB, free: 48 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05122/0.4065, allocations: 44.3 MB / 1.042 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/0.4118, allocations: 279.7 kB / 1.042 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009596/0.4127, allocations: 188 kB / 1.043 GB, free: 1.91 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.002508/0.4152, allocations: 439.8 kB / 1.043 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/0.4164, allocations: 0.6455 MB / 1.044 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/0.4332, allocations: 9.117 MB / 1.052 GB, free: 7.543 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/0.4332, allocations: 59.94 kB / 1.053 GB, free: 7.484 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001271/0.4334, allocations: 75.94 kB / 1.053 GB, free: 7.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/0.4334, allocations: 27.89 kB / 1.053 GB, free: 7.383 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4112/0.8446, allocations: 14.96 MB / 1.067 GB, free: 244 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.8446, allocations: 5.719 kB / 1.067 GB, free: 244 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.8459, allocations: 320.1 kB / 1.068 GB, free: 244 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02248/0.8684, allocations: 7.022 MB / 1.074 GB, free: 243.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008749/0.8692, allocations: 108.3 kB / 1.075 GB, free: 243.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05122/0.9204, allocations: 44.06 MB / 1.118 GB, free: 224.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.9204, allocations: 17.94 kB / 1.118 GB, free: 224.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/0.9396, allocations: 10.25 MB / 1.128 GB, free: 222.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/0.9417, allocations: 1.201 MB / 1.129 GB, free: 222.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/0.9423, allocations: 109.7 kB / 1.129 GB, free: 222.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/0.944, allocations: 288.8 kB / 1.129 GB, free: 222 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001959/0.946, allocations: 0.5633 MB / 1.13 GB, free: 221.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/0.9462, allocations: 140.3 kB / 1.13 GB, free: 221.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001282/0.9475, allocations: 1.264 MB / 1.131 GB, free: 221.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9475, allocations: 0 / 1.131 GB, free: 221.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005521/0.953, allocations: 2.474 MB / 1.133 GB, free: 221.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.0004496/0.9535, allocations: 240.6 kB / 1.134 GB, free: 221.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01134/0.9648, allocations: 9.566 MB / 1.143 GB, free: 216.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.9648, allocations: 0 / 1.143 GB, free: 216.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008604/0.9734, allocations: 7.509 MB / 1.15 GB, free: 212.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.9771, allocations: 1.266 MB / 1.152 GB, free: 212.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.9915, allocations: 12.92 MB / 1.164 GB, free: 203.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.9935, allocations: 2.171 MB / 1.166 GB, free: 202.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001461/0.995, allocations: 0.6112 MB / 1.167 GB, free: 201.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.9954, allocations: 184.5 kB / 1.167 GB, free: 201.5 MB / 1.01 GB Notification: Performance of SimCode: time 2.234e-06/0.9954, allocations: 0 / 1.167 GB, free: 201.5 MB / 1.01 GB Notification: Performance of Templates: time 0.1408/1.136, allocations: 159.4 MB / 1.323 GB, free: 49.51 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.492609079927206]