Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.000965/0.000965, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001826/0.001826, allocations: 181 kB / 24.09 MB, free: 420 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.9457/0.9457, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.713/1.713, allocations: 359 MB / 0.6055 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.117e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01173/0.01175, allocations: 15.09 MB / 0.8023 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007379/0.01913, allocations: 4.479 MB / 0.8067 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.02088, allocations: 154.8 kB / 0.8068 GB, free: 8.426 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.02223, allocations: 0.6412 MB / 0.8075 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.02463, allocations: 1.46 MB / 0.8089 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.02672, allocations: 1.316 MB / 0.8102 GB, free: 5.012 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005286/0.032, allocations: 6.161 MB / 0.8162 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.03601, allocations: 3.777 MB / 0.8199 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.04061, allocations: 3.706 MB / 0.8235 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.04372, allocations: 2.859 MB / 0.8263 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.04471, allocations: 0.5078 MB / 0.8268 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.04574, allocations: 0.5979 MB / 0.8274 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.04732, allocations: 2.227 MB / 0.8295 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.04904, allocations: 1.665 MB / 0.8312 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.05263, allocations: 4.114 MB / 0.8352 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.05264, allocations: 4 kB / 0.8352 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.05264, allocations: 0.625 kB / 0.8352 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.617e-05/0.05274, allocations: 0 / 0.8352 GB, free: 11.26 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004532/0.05727, allocations: 4.378 MB / 0.8395 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.05731, allocations: 12.03 kB / 0.8395 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.05942, allocations: 1.098 MB / 0.8405 GB, free: 5.707 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.06211, allocations: 2.259 MB / 0.8428 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.06224, allocations: 275.6 kB / 0.843 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004304/0.06267, allocations: 380.8 kB / 0.8434 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.06629, allocations: 3.725 MB / 0.847 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/0.06636, allocations: 23.8 kB / 0.847 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.06658, allocations: 160 kB / 0.8472 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006208/0.06721, allocations: 270.9 kB / 0.8475 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.0688, allocations: 1.124 MB / 0.8486 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.08198, allocations: 18.87 MB / 0.867 GB, free: 9.535 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.08247, allocations: 380.3 kB / 0.8673 GB, free: 9.156 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.08282, allocations: 358.4 kB / 0.8677 GB, free: 8.805 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.08287, allocations: 17 kB / 0.8677 GB, free: 8.785 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.0829, allocations: 46.39 kB / 0.8677 GB, free: 8.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.496e-06/0.0829, allocations: 4 kB / 0.8677 GB, free: 8.727 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.007076/0.08998, allocations: 4.194 MB / 0.8718 GB, free: 4.465 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.09001, allocations: 68.72 kB / 0.8719 GB, free: 4.387 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/0.09095, allocations: 1.288 MB / 0.8732 GB, free: 3.082 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.09101, allocations: 49.7 kB / 0.8732 GB, free: 3.027 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.09177, allocations: 1.784 MB / 0.875 GB, free: 1.227 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.09204, allocations: 0.4997 MB / 0.8754 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.0925, allocations: 333 kB / 0.8758 GB, free: 400 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.0926, allocations: 476.8 kB / 0.8762 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.0929, allocations: 247.8 kB / 0.8765 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.0935, allocations: 1.034 MB / 0.8775 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.09453, allocations: 1.43 MB / 0.8789 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.09454, allocations: 4 kB / 0.8789 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002125/0.09667, allocations: 1.801 MB / 0.8806 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.09669, allocations: 14.34 kB / 0.8806 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.09671, allocations: 16 kB / 0.8807 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.09796, allocations: 0.5984 MB / 0.8812 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.09863, allocations: 331.5 kB / 0.8816 GB, free: 9.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007987/0.1066, allocations: 16.86 MB / 0.898 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/0.1076, allocations: 52 kB / 0.8981 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.423e-05/0.1077, allocations: 60 kB / 0.8981 GB, free: 7.715 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000798/0.1085, allocations: 272 kB / 0.8984 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.1087, allocations: 238.8 kB / 0.8986 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.1105, allocations: 1.384 MB / 0.9 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1105, allocations: 12 kB / 0.9 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1105, allocations: 12 kB / 0.9 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.1105, allocations: 3.984 kB / 0.9 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/0.1151, allocations: 3.27 MB / 0.9032 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1151, allocations: 7.938 kB / 0.9032 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.1156, allocations: 191.8 kB / 0.9034 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.1167, allocations: 0.5593 MB / 0.9039 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.1168, allocations: 28 kB / 0.9039 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007656/0.1245, allocations: 16.81 MB / 0.9204 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1245, allocations: 4 kB / 0.9204 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.1271, allocations: 1.888 MB / 0.9222 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.1276, allocations: 330.8 kB / 0.9225 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.1277, allocations: 40.05 kB / 0.9226 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.1281, allocations: 31.94 kB / 0.9226 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.1283, allocations: 124.7 kB / 0.9227 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.1284, allocations: 32 kB / 0.9227 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005596/0.1289, allocations: 0.6897 MB / 0.9234 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1289, allocations: 0 / 0.9234 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001872/0.1308, allocations: 0.6992 MB / 0.9241 GB, free: 11.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.131, allocations: 151 kB / 0.9242 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.1333, allocations: 2.738 MB / 0.9269 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1333, allocations: 0.5 kB / 0.9269 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.1349, allocations: 2.192 MB / 0.9291 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.1366, allocations: 0.6364 MB / 0.9297 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/0.1449, allocations: 5.832 MB / 0.9354 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/0.1458, allocations: 0.9324 MB / 0.9363 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000828/0.1466, allocations: 240.7 kB / 0.9365 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/0.1475, allocations: 0.5838 MB / 0.9371 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of SimCode: time 1.764e-06/0.1475, allocations: 0 / 0.9371 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of Templates: time 0.04866/0.1962, allocations: 36.6 MB / 0.9728 GB, free: 10.07 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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.503739793784916]