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.0009283/0.0009283, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009919/0.0009919, allocations: 161 kB / 24.17 MB, free: 328 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 0.9228/0.9228, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.372e-06/1.372e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.883e-05, allocations: 6.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01638/0.0164, allocations: 23.92 MB / 0.7834 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.02944, allocations: 7.76 MB / 0.791 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.03304, allocations: 250.1 kB / 0.7912 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.03575, allocations: 1.027 MB / 0.7922 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.04112, allocations: 2.673 MB / 0.7948 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.0456, allocations: 2.692 MB / 0.7975 GB, free: 296 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01133/0.05693, allocations: 11.51 MB / 0.8087 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008904/0.06583, allocations: 6.942 MB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.07725, allocations: 6.873 MB / 0.8222 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00735/0.0846, allocations: 5.242 MB / 0.8273 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002409/0.08701, allocations: 0.9453 MB / 0.8282 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.08968, allocations: 1.043 MB / 0.8292 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003735/0.09341, allocations: 3.999 MB / 0.8332 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.006223/0.09963, allocations: 3.049 MB / 0.8361 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00798/0.1076, allocations: 7.43 MB / 0.8434 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.1076, allocations: 0 / 0.8434 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1076, allocations: 0.5938 kB / 0.8434 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004174/0.108, allocations: 0 / 0.8434 GB, free: 1.016 MB / 0.7917 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.01/0.118, allocations: 7.182 MB / 0.8504 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1181, allocations: 8.031 kB / 0.8504 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.1238, allocations: 2.031 MB / 0.8524 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.1293, allocations: 3.41 MB / 0.8557 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.1295, allocations: 456.5 kB / 0.8562 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.1307, allocations: 0.6096 MB / 0.8568 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008239/0.1389, allocations: 6.335 MB / 0.8629 GB, free: 12.29 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.1391, allocations: 31.95 kB / 0.863 GB, free: 12.26 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007951/0.1399, allocations: 268.2 kB / 0.8632 GB, free: 12 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.141, allocations: 0.6013 MB / 0.8638 GB, free: 11.39 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.1449, allocations: 1.824 MB / 0.8656 GB, free: 9.543 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.1726, allocations: 23.1 MB / 0.8882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.1744, allocations: 1.88 MB / 0.89 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.1757, allocations: 1.167 MB / 0.8911 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.1759, allocations: 58.78 kB / 0.8912 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.1761, allocations: 73.34 kB / 0.8913 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 6.302e-06/0.1761, allocations: 0 / 0.8913 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=356): time 0.06365/0.2398, allocations: 25.11 MB / 0.9158 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2398, allocations: 94.19 kB / 0.9159 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.2415, allocations: 2.045 MB / 0.9179 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.2418, allocations: 85.7 kB / 0.9179 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.2428, allocations: 2.296 MB / 0.9202 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007478/0.2436, allocations: 1.27 MB / 0.9214 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007005/0.2443, allocations: 0.6105 MB / 0.922 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.2443, allocations: 309.1 kB / 0.9223 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.2451, allocations: 0.5556 MB / 0.9229 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.2462, allocations: 1.315 MB / 0.9241 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.2485, allocations: 2.252 MB / 0.9263 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.2485, allocations: 8 kB / 0.9264 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.006991/0.2555, allocations: 4.259 MB / 0.9305 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.2555, allocations: 12 kB / 0.9305 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.2556, allocations: 24.41 kB / 0.9305 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00854/0.2641, allocations: 3.556 MB / 0.934 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.2654, allocations: 467.2 kB / 0.9345 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.2859, allocations: 20.05 MB / 0.954 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.2878, allocations: 100 kB / 0.9541 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.288, allocations: 108 kB / 0.9542 GB, free: 12.27 MB / 0.9167 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (7,71,71.4%), (6,40,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0013/0.2893, allocations: 319.9 kB / 0.9545 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.2899, allocations: 371.6 kB / 0.9549 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00657/0.2965, allocations: 4.049 MB / 0.9589 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.2965, allocations: 32 kB / 0.9589 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-05/0.2965, allocations: 43.94 kB / 0.9589 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.2966, allocations: 19.92 kB / 0.9589 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.3082, allocations: 6.715 MB / 0.9655 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.3082, allocations: 4 kB / 0.9655 GB, free: 500 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.309, allocations: 247.6 kB / 0.9657 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008152/0.3171, allocations: 3.482 MB / 0.9691 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003801/0.3175, allocations: 71.98 kB / 0.9692 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.3375, allocations: 20.04 MB / 0.9888 GB, free: 7.828 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3375, allocations: 7.938 kB / 0.9888 GB, free: 7.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008717/0.3462, allocations: 4.763 MB / 0.9934 GB, free: 2.887 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.3475, allocations: 0.6263 MB / 0.9941 GB, free: 2.258 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.3478, allocations: 72 kB / 0.9941 GB, free: 2.188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.3488, allocations: 72 kB / 0.9942 GB, free: 2.117 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008136/0.3496, allocations: 331.5 kB / 0.9945 GB, free: 1.793 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.3497, allocations: 68 kB / 0.9946 GB, free: 1.727 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009441/0.3507, allocations: 1.036 MB / 0.9956 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3507, allocations: 4 kB / 0.9956 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004199/0.3549, allocations: 1.789 MB / 0.9973 GB, free: 14.89 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (127): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (1,1,100.0%), (6,40,77.8%), (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.000396/0.3553, allocations: 185 kB / 0.9975 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005713/0.361, allocations: 4.632 MB / 1.002 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-05/0.361, allocations: 38.81 kB / 1.002 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004239/0.3653, allocations: 3.638 MB / 1.006 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.3686, allocations: 1.566 MB / 1.007 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.3814, allocations: 10.41 MB / 1.017 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.3831, allocations: 1.721 MB / 1.019 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001366/0.3844, allocations: 437.6 kB / 1.019 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/0.386, allocations: 0.8933 MB / 1.02 GB, free: 7.004 MB / 0.9792 GB Notification: Performance of SimCode: time 1.262e-06/0.386, allocations: 0 / 1.02 GB, free: 7.004 MB / 0.9792 GB Notification: Performance of Templates: time 0.4353/0.8212, allocations: 103.5 MB / 1.121 GB, free: 223.4 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: 7.575034529902041]