Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001872/0.001872, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.002039/0.002039, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.57/1.57, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.215/3.215, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.17e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04671/0.04674, allocations: 25.06 MB / 1.026 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.06366, allocations: 7.989 MB / 1.033 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.06631, allocations: 150.8 kB / 1.034 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.008468/0.07478, allocations: 2.778 MB / 1.036 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.0801, allocations: 1.728 MB / 1.038 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004871/0.08497, allocations: 1.697 MB / 1.04 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.5766/0.6616, allocations: 6.256 MB / 1.046 GB, free: 50.81 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005834/0.6674, allocations: 3.75 MB / 1.049 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.6738, allocations: 3.728 MB / 1.053 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/0.6786, allocations: 2.637 MB / 1.056 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.6798, allocations: 0.508 MB / 1.056 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.6832, allocations: 1.213 MB / 1.057 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002502/0.6857, allocations: 2.201 MB / 1.059 GB, free: 50.38 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.6886, allocations: 1.656 MB / 1.061 GB, free: 50.22 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.6969, allocations: 8.212 MB / 1.069 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.697, allocations: 0 / 1.069 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.482e-06/0.697, allocations: 2.906 kB / 1.069 GB, free: 49.27 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002072/0.6972, allocations: 0.5 kB / 1.069 GB, free: 49.27 MB / 0.9948 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.008915/0.7061, allocations: 4.211 MB / 1.073 GB, free: 46.91 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.7061, allocations: 12.41 kB / 1.073 GB, free: 46.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/0.7101, allocations: 0.83 MB / 1.074 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.7154, allocations: 2.526 MB / 1.076 GB, free: 45.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.7157, allocations: 278.2 kB / 1.077 GB, free: 45.39 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008934/0.7166, allocations: 375.5 kB / 1.077 GB, free: 45.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.7283, allocations: 6.443 MB / 1.083 GB, free: 42.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.7284, allocations: 18.78 kB / 1.083 GB, free: 42.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/0.7288, allocations: 162.9 kB / 1.084 GB, free: 42.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006665/0.7294, allocations: 282.4 kB / 1.084 GB, free: 42.03 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008459/0.7379, allocations: 4.521 MB / 1.088 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02441/0.7623, allocations: 17.37 MB / 1.105 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.7641, allocations: 1.054 MB / 1.106 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.7656, allocations: 0.9658 MB / 1.107 GB, free: 28.13 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.37e-05/0.7657, allocations: 12.25 kB / 1.107 GB, free: 28.13 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.7657, allocations: 50.17 kB / 1.107 GB, free: 28.08 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.797e-06/0.7657, allocations: 0 / 1.107 GB, free: 28.08 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.02672/0.7924, allocations: 9.072 MB / 1.116 GB, free: 24.53 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.7925, allocations: 69.31 kB / 1.116 GB, free: 24.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.7949, allocations: 1.398 MB / 1.118 GB, free: 23.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.7951, allocations: 48.08 kB / 1.118 GB, free: 23.87 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.7962, allocations: 1.729 MB / 1.119 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.7966, allocations: 487 kB / 1.12 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005686/0.7971, allocations: 321.8 kB / 1.12 GB, free: 22.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.7972, allocations: 307.4 kB / 1.12 GB, free: 21.71 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.7991, allocations: 0.9138 MB / 1.121 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.8012, allocations: 1.47 MB / 1.123 GB, free: 20.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.8047, allocations: 2.542 MB / 1.125 GB, free: 18.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.8047, allocations: 9.375 kB / 1.125 GB, free: 18.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006564/0.8113, allocations: 3.266 MB / 1.128 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.8113, allocations: 12.48 kB / 1.128 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/0.8114, allocations: 25.64 kB / 1.128 GB, free: 17.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.8139, allocations: 0.7334 MB / 1.129 GB, free: 17.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.8156, allocations: 389.1 kB / 1.129 GB, free: 17.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.8302, allocations: 15.81 MB / 1.145 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.8326, allocations: 103.3 kB / 1.145 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.8328, allocations: 74.03 kB / 1.145 GB, free: 4.238 MB / 0.9948 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.003061/0.8358, allocations: 1.314 MB / 1.146 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/0.8363, allocations: 193.4 kB / 1.147 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005359/0.8417, allocations: 2.763 MB / 1.149 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8417, allocations: 12.94 kB / 1.149 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.8417, allocations: 10.5 kB / 1.149 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.8417, allocations: 7.578 kB / 1.149 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.8525, allocations: 5.328 MB / 1.154 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.8525, allocations: 9.781 kB / 1.154 GB, free: 164 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.8538, allocations: 233.7 kB / 1.155 GB, free: 160 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/0.8559, allocations: 0.6657 MB / 1.155 GB, free: 15.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.856, allocations: 31.8 kB / 1.155 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/0.8754, allocations: 15.55 MB / 1.171 GB, free: 2.961 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8754, allocations: 8.062 kB / 1.171 GB, free: 2.961 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007005/0.8824, allocations: 3.978 MB / 1.174 GB, free: 1.133 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.8837, allocations: 379.3 kB / 1.175 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.8839, allocations: 30.81 kB / 1.175 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008993/0.8848, allocations: 85 kB / 1.175 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/0.8852, allocations: 122.9 kB / 1.175 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.8853, allocations: 40.67 kB / 1.175 GB, free: 0.8633 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001342/0.8866, allocations: 0.9066 MB / 1.176 GB, free: 0.5195 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8866, allocations: 0 / 1.176 GB, free: 0.5195 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002711/0.8893, allocations: 0.6826 MB / 1.177 GB, free: 476 kB / 1.01 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.0003089/0.8896, allocations: 157 kB / 1.177 GB, free: 356 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005849/0.8955, allocations: 3.376 MB / 1.18 GB, free: 14.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.8955, allocations: 4.188 kB / 1.18 GB, free: 14.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/0.8993, allocations: 2.231 MB / 1.182 GB, free: 12.62 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.9023, allocations: 0.639 MB / 1.183 GB, free: 12.3 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.9154, allocations: 6.493 MB / 1.189 GB, free: 8.078 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/0.9189, allocations: 2.109 MB / 1.191 GB, free: 5.934 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001843/0.9208, allocations: 468.4 kB / 1.192 GB, free: 5.473 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.9211, allocations: 120.5 kB / 1.192 GB, free: 5.355 MB / 1.026 GB Notification: Performance of SimCode: time 1.823e-06/0.9211, allocations: 0 / 1.192 GB, free: 5.355 MB / 1.026 GB Notification: Performance of Templates: time 0.07952/1.001, allocations: 33.46 MB / 1.225 GB, free: 4.723 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.827861995436251]