Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.6 MB / 307.6 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 187.4 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.6367 GB, free: 8.531 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 92.95 kB / 0.751 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 16 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3125, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9377/1.25, allocations: 182.3 MB / 1.166 GB, free: 216 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/1.251, allocations: 105.3 kB / 1.166 GB, free: 112 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09775/1.348, allocations: 31.43 MB / 1.197 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.585e-06/1.349, allocations: 0 / 1.197 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.425e-05/1.349, allocations: 16 kB / 1.197 GB, free: 0.5117 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001929/1.351, allocations: 0.8775 MB / 1.198 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.98e-05/1.351, allocations: 12.02 kB / 1.198 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/1.352, allocations: 197 kB / 1.198 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.353, allocations: 497.4 kB / 1.199 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/1.353, allocations: 36.98 kB / 1.199 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/1.353, allocations: 63.38 kB / 1.199 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/1.355, allocations: 0.867 MB / 1.2 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.355, allocations: 11.92 kB / 1.2 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/1.355, allocations: 24 kB / 1.2 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/1.355, allocations: 36.98 kB / 1.2 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009644/1.356, allocations: 0.5775 MB / 1.2 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/1.361, allocations: 4.596 MB / 1.205 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/1.361, allocations: 298.3 kB / 1.205 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/1.361, allocations: 4 kB / 1.205 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.361, allocations: 34.56 kB / 1.205 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/1.361, allocations: 4 kB / 1.205 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.005745/1.367, allocations: 2.632 MB / 1.208 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/1.367, allocations: 55.41 kB / 1.208 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/1.368, allocations: 397.2 kB / 1.208 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/1.368, allocations: 37.7 kB / 1.208 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/1.368, allocations: 323.8 kB / 1.208 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.368, allocations: 149.9 kB / 1.209 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/1.368, allocations: 12 kB / 1.209 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.368, allocations: 366.8 kB / 1.209 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/1.369, allocations: 225 kB / 1.209 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/1.369, allocations: 392.4 kB / 1.21 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/1.37, allocations: 289.4 kB / 1.21 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.37, allocations: 4 kB / 1.21 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001642/1.371, allocations: 0.8978 MB / 1.211 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.371, allocations: 8 kB / 1.211 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.371, allocations: 7.953 kB / 1.211 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/1.372, allocations: 224.5 kB / 1.211 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/1.373, allocations: 111.7 kB / 1.211 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/1.378, allocations: 5.009 MB / 1.216 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/1.379, allocations: 27.97 kB / 1.216 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/1.379, allocations: 24 kB / 1.216 GB, free: 12.05 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005002/1.38, allocations: 227.5 kB / 1.216 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/1.38, allocations: 63.36 kB / 1.216 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/1.381, allocations: 0.7674 MB / 1.217 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.381, allocations: 7.953 kB / 1.217 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.381, allocations: 8 kB / 1.217 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.381, allocations: 0 / 1.217 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/1.384, allocations: 1.475 MB / 1.218 GB, free: 9.402 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/1.384, allocations: 4 kB / 1.218 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/1.385, allocations: 71.88 kB / 1.219 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007208/1.386, allocations: 206.6 kB / 1.219 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.386, allocations: 8 kB / 1.219 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/1.391, allocations: 4.952 MB / 1.224 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.391, allocations: 0 / 1.224 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/1.393, allocations: 1.207 MB / 1.225 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/1.394, allocations: 172.4 kB / 1.225 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.394, allocations: 16 kB / 1.225 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/1.394, allocations: 27.97 kB / 1.225 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.394, allocations: 32.23 kB / 1.225 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/1.394, allocations: 12 kB / 1.225 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005528/1.395, allocations: 306.9 kB / 1.225 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.6e-07/1.395, allocations: 0 / 1.225 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009146/1.396, allocations: 179.9 kB / 1.225 GB, free: 1.719 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002766/1.396, allocations: 123.2 kB / 1.226 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002049/1.398, allocations: 0.9963 MB / 1.227 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.398, allocations: 4.125 kB / 1.227 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.4, allocations: 0.672 MB / 1.227 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.401, allocations: 166.5 kB / 1.227 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/1.405, allocations: 1.493 MB / 1.229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.407, allocations: 0.961 MB / 1.23 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007496/1.407, allocations: 110.9 kB / 1.23 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.408, allocations: 39.42 kB / 1.23 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of SimCode: time 1.223e-06/1.408, allocations: 0 / 1.23 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.02565/1.433, allocations: 8.152 MB / 1.238 GB, free: 4.996 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)