Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 293 MB / 309 MB, free: 4.816 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.0009442/0.0009444, allocations: 180.6 kB / 378.7 MB, free: 1.031 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.562/1.562, allocations: 205.4 MB / 0.6383 GB, free: 8.242 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.0007277/0.0007276, allocations: 100.6 kB / 0.7527 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004662, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2562, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7156/0.9718, allocations: 161.1 MB / 1.148 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.9722, allocations: 97.2 kB / 1.148 GB, free: 17.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08555/1.058, allocations: 36.76 MB / 1.184 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.195e-06/1.058, allocations: 4 kB / 1.184 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.187e-05/1.058, allocations: 27.92 kB / 1.184 GB, free: 15.27 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002258/1.06, allocations: 1.023 MB / 1.185 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.06, allocations: 15.97 kB / 1.185 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/1.062, allocations: 243.6 kB / 1.185 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.063, allocations: 0.5419 MB / 1.186 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/1.063, allocations: 58.36 kB / 1.186 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.063, allocations: 68.36 kB / 1.186 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.065, allocations: 1.142 MB / 1.187 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/1.065, allocations: 7.922 kB / 1.187 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/1.065, allocations: 35.98 kB / 1.187 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.237e-05/1.065, allocations: 57.28 kB / 1.187 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/1.066, allocations: 0.7465 MB / 1.188 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/1.072, allocations: 5.901 MB / 1.193 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/1.073, allocations: 0.5612 MB / 1.194 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/1.074, allocations: 330 kB / 1.194 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/1.074, allocations: 4.438 kB / 1.194 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.074, allocations: 39 kB / 1.194 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/1.074, allocations: 0 / 1.194 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.004126/1.078, allocations: 1.986 MB / 1.196 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.078, allocations: 63.78 kB / 1.196 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/1.079, allocations: 0.5547 MB / 1.197 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/1.079, allocations: 29.7 kB / 1.197 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/1.079, allocations: 399.1 kB / 1.197 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.079, allocations: 173.6 kB / 1.197 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/1.079, allocations: 16 kB / 1.197 GB, free: 500 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.079, allocations: 370.7 kB / 1.198 GB, free: 120 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/1.08, allocations: 273.2 kB / 1.198 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/1.08, allocations: 466.8 kB / 1.199 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.081, allocations: 0.7709 MB / 1.199 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.081, allocations: 0 / 1.199 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001768/1.083, allocations: 1.056 MB / 1.2 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.083, allocations: 9.875 kB / 1.2 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.083, allocations: 8.625 kB / 1.2 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/1.084, allocations: 283.4 kB / 1.201 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/1.085, allocations: 117.8 kB / 1.201 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/1.09, allocations: 6.593 MB / 1.207 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/1.091, allocations: 39.95 kB / 1.207 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/1.091, allocations: 28.06 kB / 1.207 GB, free: 5.777 MB / 0.7761 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000541/1.092, allocations: 257.5 kB / 1.207 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/1.092, allocations: 71.16 kB / 1.208 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/1.094, allocations: 0.8923 MB / 1.208 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.094, allocations: 6.125 kB / 1.208 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.094, allocations: 4 kB / 1.208 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.094, allocations: 3.984 kB / 1.208 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/1.096, allocations: 1.721 MB / 1.21 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.096, allocations: 4 kB / 1.21 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.097, allocations: 55.89 kB / 1.21 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006962/1.097, allocations: 273.4 kB / 1.21 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/1.097, allocations: 8 kB / 1.21 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00592/1.103, allocations: 6.586 MB / 1.217 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.103, allocations: 7.969 kB / 1.217 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.105, allocations: 0.9722 MB / 1.218 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/1.105, allocations: 196.2 kB / 1.218 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.105, allocations: 11.94 kB / 1.218 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/1.106, allocations: 30.28 kB / 1.218 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.106, allocations: 47.88 kB / 1.218 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/1.106, allocations: 12 kB / 1.218 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005188/1.107, allocations: 379.1 kB / 1.218 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.107, allocations: 0 / 1.218 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009626/1.108, allocations: 236 kB / 1.219 GB, free: 9.324 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/1.108, allocations: 130.7 kB / 1.219 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001955/1.11, allocations: 1.253 MB / 1.22 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.11, allocations: 4 kB / 1.22 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/1.111, allocations: 0.8932 MB / 1.221 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.112, allocations: 204.6 kB / 1.221 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/1.115, allocations: 1.57 MB / 1.223 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/1.115, allocations: 1.013 MB / 1.224 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004725/1.116, allocations: 127.7 kB / 1.224 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.116, allocations: 39.44 kB / 1.224 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of SimCode: time 2.11e-07/1.116, allocations: 0 / 1.224 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of Templates: time 0.02068/1.137, allocations: 10.46 MB / 1.234 GB, free: 9.598 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)