Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0009639/0.0009639, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001837/0.001837, allocations: 161 kB / 24.17 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.9497/0.9497, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.927/1.927, allocations: 377.9 MB / 0.624 GB, free: 8.363 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.9e-05, allocations: 7.078 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01309/0.01312, allocations: 17.03 MB / 0.7767 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007771/0.02089, allocations: 5.245 MB / 0.7818 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.0222, allocations: 190.6 kB / 0.782 GB, free: 108 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.02353, allocations: 0.7484 MB / 0.7827 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.02586, allocations: 1.654 MB / 0.7844 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.02802, allocations: 1.557 MB / 0.7859 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005616/0.03364, allocations: 7.345 MB / 0.7931 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004957/0.0386, allocations: 5.388 MB / 0.7983 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.04305, allocations: 4.564 MB / 0.8028 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.04604, allocations: 3.42 MB / 0.8061 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006106/0.04666, allocations: 0.646 MB / 0.8067 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008328/0.04749, allocations: 0.7341 MB / 0.8075 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.04902, allocations: 2.767 MB / 0.8102 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.05059, allocations: 2.027 MB / 0.8121 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.05391, allocations: 5.026 MB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.05391, allocations: 7.938 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.05391, allocations: 0.75 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.272e-05/0.05398, allocations: 0 / 0.8171 GB, free: 12.01 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004114/0.05809, allocations: 4.686 MB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.05812, allocations: 12.03 kB / 0.8217 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.06068, allocations: 1.225 MB / 0.8228 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.06329, allocations: 2.387 MB / 0.8252 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.06346, allocations: 345.7 kB / 0.8255 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.06392, allocations: 473.9 kB / 0.826 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.06806, allocations: 4.299 MB / 0.8302 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.06816, allocations: 35.89 kB / 0.8302 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.06848, allocations: 196.3 kB / 0.8304 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002828/0.06877, allocations: 316.9 kB / 0.8307 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.07061, allocations: 1.244 MB / 0.8319 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.08281, allocations: 17.99 MB / 0.8495 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.08358, allocations: 0.6996 MB / 0.8502 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.08396, allocations: 399.1 kB / 0.8505 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.08402, allocations: 21.31 kB / 0.8506 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.08405, allocations: 43.88 kB / 0.8506 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=133): time 2.565e-06/0.08405, allocations: 0.9062 kB / 0.8506 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of matching and sorting (n=136): time 0.004272/0.08832, allocations: 2.735 MB / 0.8533 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.08835, allocations: 64.72 kB / 0.8533 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.08908, allocations: 1.22 MB / 0.8545 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.08915, allocations: 49.7 kB / 0.8546 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.08984, allocations: 1.852 MB / 0.8564 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.09009, allocations: 0.4957 MB / 0.8569 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.09038, allocations: 335.2 kB / 0.8572 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.09045, allocations: 309 kB / 0.8575 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.09071, allocations: 199.9 kB / 0.8577 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.09127, allocations: 0.8863 MB / 0.8585 GB, free: 0 / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.09226, allocations: 1.314 MB / 0.8598 GB, free: 14.37 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.09227, allocations: 4 kB / 0.8598 GB, free: 14.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00194/0.09421, allocations: 1.656 MB / 0.8614 GB, free: 12.65 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.09423, allocations: 16 kB / 0.8615 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.09425, allocations: 20.41 kB / 0.8615 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.09552, allocations: 0.6753 MB / 0.8621 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.09615, allocations: 343.4 kB / 0.8625 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/0.1053, allocations: 16.86 MB / 0.8789 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/0.106, allocations: 59.98 kB / 0.879 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.106, allocations: 72 kB / 0.879 GB, free: 9.41 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0008093/0.1068, allocations: 240 kB / 0.8793 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.1071, allocations: 167.8 kB / 0.8794 GB, free: 9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.1088, allocations: 1.293 MB / 0.8807 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1088, allocations: 12 kB / 0.8807 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1088, allocations: 19.88 kB / 0.8807 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1088, allocations: 7.969 kB / 0.8807 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.1132, allocations: 3.346 MB / 0.884 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1132, allocations: 8 kB / 0.884 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.1136, allocations: 155.8 kB / 0.8842 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.1147, allocations: 0.6172 MB / 0.8848 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/0.1148, allocations: 28 kB / 0.8848 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007831/0.1226, allocations: 15.86 MB / 0.9003 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1226, allocations: 4 kB / 0.9003 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.1242, allocations: 1.448 MB / 0.9017 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.1246, allocations: 278.6 kB / 0.902 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.1247, allocations: 24 kB / 0.902 GB, free: 376 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.125, allocations: 31.98 kB / 0.902 GB, free: 344 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.1252, allocations: 132.6 kB / 0.9021 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.1252, allocations: 32 kB / 0.9022 GB, free: 176 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004185/0.1257, allocations: 0.5872 MB / 0.9027 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1257, allocations: 0 / 0.9027 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001701/0.1274, allocations: 0.7929 MB / 0.9035 GB, free: 14.8 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.1275, allocations: 125.6 kB / 0.9036 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.1296, allocations: 2.649 MB / 0.9062 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.783e-05/0.1297, allocations: 26.69 kB / 0.9062 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.1311, allocations: 2.094 MB / 0.9083 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.1325, allocations: 0.7107 MB / 0.909 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/0.1403, allocations: 6.84 MB / 0.9157 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.1413, allocations: 1.128 MB / 0.9168 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006714/0.142, allocations: 241.5 kB / 0.917 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008205/0.1428, allocations: 0.4951 MB / 0.9175 GB, free: 44 kB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/0.1428, allocations: 0 / 0.9175 GB, free: 44 kB / 0.8698 GB Notification: Performance of Templates: time 0.0477/0.1905, allocations: 38.94 MB / 0.9555 GB, free: 9.855 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.83685788186267]