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.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_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.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.6 MB / 307.6 MB, free: 5.195 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.001453/0.001452, allocations: 173.1 kB / 377.1 MB, free: 1.551 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.847/1.847, allocations: 205.4 MB / 0.6367 GB, free: 8.559 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.0008981/0.0008979, allocations: 93.47 kB / 0.751 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 15.98 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8686/1.181, allocations: 161.1 MB / 1.146 GB, free: 18.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/1.181, allocations: 101.6 kB / 1.146 GB, free: 18.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08916/1.271, allocations: 36.74 MB / 1.182 GB, free: 476 kB / 0.7448 GB Notification: Performance of FrontEnd: time 7.835e-06/1.271, allocations: 4 kB / 1.182 GB, free: 472 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.246e-05/1.271, allocations: 27.94 kB / 1.182 GB, free: 444 kB / 0.7448 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.00228/1.273, allocations: 1.026 MB / 1.183 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.273, allocations: 16.02 kB / 1.183 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.275, allocations: 244.7 kB / 1.183 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.276, allocations: 0.5315 MB / 1.183 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/1.276, allocations: 53.98 kB / 1.183 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/1.276, allocations: 64 kB / 1.184 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/1.278, allocations: 1.134 MB / 1.185 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.278, allocations: 7.938 kB / 1.185 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/1.278, allocations: 39.98 kB / 1.185 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/1.278, allocations: 49.28 kB / 1.185 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/1.279, allocations: 0.7543 MB / 1.185 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006616/1.286, allocations: 5.908 MB / 1.191 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.287, allocations: 0.5477 MB / 1.192 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/1.287, allocations: 4.438 kB / 1.192 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/1.287, allocations: 44.61 kB / 1.192 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 5.17e-06/1.287, allocations: 0 / 1.192 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.00434/1.292, allocations: 1.976 MB / 1.194 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.292, allocations: 59.84 kB / 1.194 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/1.292, allocations: 495.2 kB / 1.194 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/1.292, allocations: 37.7 kB / 1.194 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/1.293, allocations: 399.2 kB / 1.195 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.293, allocations: 169.5 kB / 1.195 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/1.293, allocations: 16 kB / 1.195 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.293, allocations: 378.7 kB / 1.195 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/1.294, allocations: 273.2 kB / 1.196 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/1.294, allocations: 458.8 kB / 1.196 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/1.295, allocations: 338 kB / 1.196 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.295, allocations: 4 kB / 1.196 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001735/1.296, allocations: 1.056 MB / 1.197 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.296, allocations: 10.19 kB / 1.197 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.296, allocations: 4 kB / 1.197 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008472/1.297, allocations: 271.5 kB / 1.198 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/1.298, allocations: 119.8 kB / 1.198 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/1.305, allocations: 6.713 MB / 1.204 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/1.306, allocations: 35.95 kB / 1.204 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/1.306, allocations: 38.06 kB / 1.204 GB, free: 7.781 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.0005219/1.306, allocations: 245.5 kB / 1.205 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.306, allocations: 67.25 kB / 1.205 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.308, allocations: 0.8885 MB / 1.205 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.308, allocations: 7.953 kB / 1.205 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.308, allocations: 4 kB / 1.205 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.308, allocations: 0 / 1.205 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/1.311, allocations: 1.71 MB / 1.207 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.311, allocations: 4 kB / 1.207 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/1.311, allocations: 63.89 kB / 1.207 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000761/1.312, allocations: 271.3 kB / 1.207 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/1.312, allocations: 12 kB / 1.207 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006522/1.319, allocations: 6.688 MB / 1.214 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.319, allocations: 4.031 kB / 1.214 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.321, allocations: 1.052 MB / 1.215 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/1.321, allocations: 188.2 kB / 1.215 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/1.321, allocations: 12 kB / 1.215 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/1.321, allocations: 27.97 kB / 1.215 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.322, allocations: 47.89 kB / 1.215 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/1.322, allocations: 17 kB / 1.215 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000483/1.322, allocations: 383.1 kB / 1.216 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.2e-07/1.322, allocations: 0 / 1.216 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008928/1.323, allocations: 224 kB / 1.216 GB, free: 11.15 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.0002085/1.323, allocations: 131.1 kB / 1.216 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002288/1.325, allocations: 1.253 MB / 1.217 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.325, allocations: 4 kB / 1.217 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/1.327, allocations: 0.8932 MB / 1.218 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/1.328, allocations: 192.2 kB / 1.218 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/1.33, allocations: 1.582 MB / 1.22 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/1.331, allocations: 1.028 MB / 1.221 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000463/1.331, allocations: 117.9 kB / 1.221 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.332, allocations: 39.44 kB / 1.221 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of SimCode: time 1.272e-06/1.332, allocations: 0 / 1.221 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of Templates: time 0.01923/1.351, allocations: 10.3 MB / 1.231 GB, free: 11.56 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)