Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.318/2.318, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 176.2 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.407/2.407, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009613/0.0009606, allocations: 93.38 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 13.91 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.247, allocations: 203.1 MB / 1.098 GB, free: 54.65 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004274/1.248, allocations: 106 kB / 1.098 GB, free: 54.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3251/1.573, allocations: 85.47 MB / 1.181 GB, free: 23.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.573, allocations: 0 / 1.181 GB, free: 23.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001493/1.573, allocations: 47.7 kB / 1.181 GB, free: 23.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005545/1.579, allocations: 1.856 MB / 1.183 GB, free: 21.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.579, allocations: 11.97 kB / 1.183 GB, free: 21.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/1.599, allocations: 1.975 MB / 1.185 GB, free: 19.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/1.604, allocations: 1.522 MB / 1.187 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/1.604, allocations: 87 kB / 1.187 GB, free: 18.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/1.605, allocations: 125.9 kB / 1.187 GB, free: 18.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009787/1.614, allocations: 2.73 MB / 1.19 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/1.615, allocations: 23.23 kB / 1.19 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/1.615, allocations: 51.94 kB / 1.19 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/1.615, allocations: 85.05 kB / 1.19 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/1.629, allocations: 2.844 MB / 1.192 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/1.654, allocations: 10.74 MB / 1.203 GB, free: 4.469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.666, allocations: 2.378 MB / 1.205 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00582/1.672, allocations: 1.305 MB / 1.207 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/1.672, allocations: 16.97 kB / 1.207 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/1.672, allocations: 47.56 kB / 1.207 GB, free: 1.547 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 3.567e-06/1.672, allocations: 0 / 1.207 GB, free: 1.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=153): time 0.1386/1.811, allocations: 17.35 MB / 1.224 GB, free: 156 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/1.811, allocations: 226.9 kB / 1.224 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/1.814, allocations: 1.18 MB / 1.225 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000463/1.814, allocations: 49.7 kB / 1.225 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008801/1.815, allocations: 0.7316 MB / 1.226 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009518/1.816, allocations: 0.5138 MB / 1.226 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.816, allocations: 28 kB / 1.226 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.816, allocations: 361.9 kB / 1.227 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00713/1.824, allocations: 1.546 MB / 1.228 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007574/1.831, allocations: 1.828 MB / 1.23 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007519/1.839, allocations: 1.661 MB / 1.232 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.839, allocations: 0 / 1.232 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02799/1.867, allocations: 5.417 MB / 1.237 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/1.867, allocations: 11.98 kB / 1.237 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.867, allocations: 4 kB / 1.237 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/1.883, allocations: 2.137 MB / 1.239 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/1.887, allocations: 419.3 kB / 1.239 GB, free: 15.83 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05104/1.938, allocations: 22.58 MB / 1.261 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005136/1.943, allocations: 327.5 kB / 1.262 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004494/1.944, allocations: 68.05 kB / 1.262 GB, free: 7.82 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001703/1.946, allocations: 464.2 kB / 1.262 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008646/1.946, allocations: 177.9 kB / 1.262 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02819/1.975, allocations: 5.488 MB / 1.268 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.975, allocations: 16 kB / 1.268 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-05/1.975, allocations: 16 kB / 1.268 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/1.975, allocations: 7.969 kB / 1.268 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/2.009, allocations: 7.682 MB / 1.275 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/2.009, allocations: 12 kB / 1.275 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/2.013, allocations: 363.4 kB / 1.276 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0238/2.037, allocations: 1.998 MB / 1.278 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006513/2.037, allocations: 43.97 kB / 1.278 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07493/2.112, allocations: 21.76 MB / 1.299 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/2.112, allocations: 4 kB / 1.299 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03825/2.151, allocations: 5.092 MB / 1.304 GB, free: 11.4 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/2.153, allocations: 0.5066 MB / 1.304 GB, free: 10.88 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006678/2.153, allocations: 28 kB / 1.304 GB, free: 10.85 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004722/2.158, allocations: 331.5 kB / 1.305 GB, free: 10.52 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008007/2.159, allocations: 153 kB / 1.305 GB, free: 10.38 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/2.159, allocations: 55.97 kB / 1.305 GB, free: 10.32 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.002032/2.161, allocations: 0.786 MB / 1.306 GB, free: 9.535 MB / 0.8074 GB Notification: Performance of sort global known variables: time 4.3e-07/2.161, allocations: 0 / 1.306 GB, free: 9.535 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.004097/2.165, allocations: 0.7226 MB / 1.306 GB, free: 8.812 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008581/2.166, allocations: 218.4 kB / 1.307 GB, free: 8.594 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0216/2.188, allocations: 5.206 MB / 1.312 GB, free: 3.281 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/2.188, allocations: 0 / 1.312 GB, free: 3.281 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.01375/2.202, allocations: 3.402 MB / 1.315 GB, free: 15.78 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/2.207, allocations: 0.5275 MB / 1.315 GB, free: 15.25 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/2.225, allocations: 4.863 MB / 1.32 GB, free: 10.34 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/2.227, allocations: 1.569 MB / 1.322 GB, free: 8.734 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003338/2.23, allocations: 406.7 kB / 1.322 GB, free: 8.332 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008706/2.231, allocations: 115.4 kB / 1.322 GB, free: 8.219 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/2.231, allocations: 0 / 1.322 GB, free: 8.219 MB / 0.823 GB Notification: Performance of Templates: time 0.1234/2.355, allocations: 44.26 MB / 1.365 GB, free: 12.32 MB / 0.8699 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)