Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001298/0.001298, 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.00145/0.00145, allocations: 161.4 kB / 24.16 MB, free: 332 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.9693/0.9693, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.859/1.859, allocations: 377.9 MB / 0.624 GB, free: 8.355 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.39e-05, allocations: 5.266 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01539/0.01541, allocations: 19.5 MB / 0.7791 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009271/0.02469, allocations: 5.754 MB / 0.7847 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.0265, allocations: 191.1 kB / 0.7849 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.02794, allocations: 0.8388 MB / 0.7857 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.03059, allocations: 1.86 MB / 0.7875 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.03297, allocations: 1.655 MB / 0.7891 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006132/0.0391, allocations: 8.016 MB / 0.797 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005512/0.04461, allocations: 5.532 MB / 0.8024 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/0.0496, allocations: 4.863 MB / 0.8071 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.05298, allocations: 3.643 MB / 0.8107 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006674/0.05364, allocations: 0.6803 MB / 0.8113 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.05451, allocations: 0.7653 MB / 0.8121 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.05617, allocations: 2.831 MB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.0584, allocations: 2.175 MB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.0628, allocations: 5.321 MB / 0.8222 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.06281, allocations: 0.7812 kB / 0.8222 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.723e-06/0.06281, allocations: 0 / 0.8222 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.678e-05/0.06289, allocations: 1 kB / 0.8222 GB, free: 6.754 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.004996/0.06788, allocations: 5.127 MB / 0.8272 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.06792, allocations: 8.031 kB / 0.8272 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.07007, allocations: 1.165 MB / 0.8283 GB, free: 428 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.07264, allocations: 2.492 MB / 0.8308 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.0728, allocations: 353.9 kB / 0.8311 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.07326, allocations: 481.1 kB / 0.8315 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.07723, allocations: 4.893 MB / 0.8363 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.786e-05/0.07731, allocations: 24.81 kB / 0.8364 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.07761, allocations: 212.3 kB / 0.8366 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002994/0.07791, allocations: 370 kB / 0.8369 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.07967, allocations: 1.301 MB / 0.8382 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.09636, allocations: 18.74 MB / 0.8565 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.09761, allocations: 0.7576 MB / 0.8572 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/0.09824, allocations: 478.5 kB / 0.8577 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-05/0.09832, allocations: 34.09 kB / 0.8577 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.09836, allocations: 51.88 kB / 0.8578 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 4.178e-06/0.09837, allocations: 1.344 kB / 0.8578 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of matching and sorting (n=160): time 0.005739/0.1041, allocations: 2.765 MB / 0.8605 GB, free: 14.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1041, allocations: 72.66 kB / 0.8605 GB, free: 14.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.1053, allocations: 1.462 MB / 0.862 GB, free: 12.62 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.1054, allocations: 53.7 kB / 0.862 GB, free: 12.56 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/0.1064, allocations: 1.932 MB / 0.8639 GB, free: 10.61 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.1067, allocations: 0.5769 MB / 0.8645 GB, free: 10.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/0.1072, allocations: 387.8 kB / 0.8648 GB, free: 9.637 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.1073, allocations: 301.1 kB / 0.8651 GB, free: 9.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.1077, allocations: 236.3 kB / 0.8653 GB, free: 9.105 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007999/0.1085, allocations: 0.9437 MB / 0.8663 GB, free: 7.844 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.1099, allocations: 1.411 MB / 0.8676 GB, free: 6.117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.11, allocations: 8 kB / 0.8676 GB, free: 6.109 MB / 0.823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002658/0.1126, allocations: 1.766 MB / 0.8694 GB, free: 4.285 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.1126, allocations: 16.41 kB / 0.8694 GB, free: 4.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.1127, allocations: 24 kB / 0.8694 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.1144, allocations: 0.7026 MB / 0.8701 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/0.1154, allocations: 383.3 kB / 0.8705 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.1256, allocations: 16.12 MB / 0.8862 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.1265, allocations: 64 kB / 0.8863 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.1266, allocations: 72 kB / 0.8863 GB, free: 1.691 MB / 0.8386 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008482/0.1275, allocations: 261.4 kB / 0.8866 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.1277, allocations: 211.7 kB / 0.8868 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1292, allocations: 1.359 MB / 0.8881 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1292, allocations: 16 kB / 0.8881 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1292, allocations: 15.94 kB / 0.8881 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1293, allocations: 7.969 kB / 0.8881 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.1331, allocations: 3.109 MB / 0.8912 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1331, allocations: 7.984 kB / 0.8912 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.1336, allocations: 163.8 kB / 0.8913 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.1348, allocations: 0.6758 MB / 0.892 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.1349, allocations: 32 kB / 0.892 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/0.1425, allocations: 16.09 MB / 0.9077 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1425, allocations: 8 kB / 0.9078 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.1441, allocations: 1.525 MB / 0.9092 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.1445, allocations: 326.4 kB / 0.9096 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.1447, allocations: 39.88 kB / 0.9096 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.1451, allocations: 36 kB / 0.9096 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.1453, allocations: 148.9 kB / 0.9098 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.1454, allocations: 36 kB / 0.9098 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004756/0.1459, allocations: 0.7069 MB / 0.9105 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1459, allocations: 0 / 0.9105 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001683/0.1475, allocations: 0.9023 MB / 0.9114 GB, free: 6.469 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001821/0.1477, allocations: 140.2 kB / 0.9115 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.1499, allocations: 2.793 MB / 0.9142 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.89e-05/0.1499, allocations: 29.81 kB / 0.9143 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.1514, allocations: 2.221 MB / 0.9164 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.1529, allocations: 0.7701 MB / 0.9172 GB, free: 208 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007202/0.1601, allocations: 7.276 MB / 0.9243 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/0.161, allocations: 1.169 MB / 0.9254 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006285/0.1616, allocations: 296.8 kB / 0.9257 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009784/0.1626, allocations: 0.6474 MB / 0.9263 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/0.1626, allocations: 0 / 0.9263 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of Templates: time 0.05129/0.2139, allocations: 45.34 MB / 0.9706 GB, free: 10.27 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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: 5.991439610719681]