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.794/1.794, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001076/0.001076, allocations: 183.6 kB / 371.6 MB, free: 3.332 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.624/1.624, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008035/0.0008034, allocations: 86.73 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.8e-05, allocations: 0 / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8434/1.08, allocations: 161 MB / 1.137 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.081, allocations: 95.5 kB / 1.137 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08672/1.168, allocations: 36.51 MB / 1.173 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/1.168, allocations: 0 / 1.173 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.432e-05/1.168, allocations: 23.98 kB / 1.173 GB, free: 6.395 MB / 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.00255/1.17, allocations: 0.9477 MB / 1.174 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.17, allocations: 11.97 kB / 1.174 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/1.172, allocations: 251 kB / 1.174 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.173, allocations: 0.525 MB / 1.174 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/1.173, allocations: 56.47 kB / 1.175 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.174, allocations: 69.27 kB / 1.175 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.175, allocations: 1.126 MB / 1.176 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.175, allocations: 3.938 kB / 1.176 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/1.175, allocations: 32.75 kB / 1.176 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-05/1.176, allocations: 55.66 kB / 1.176 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/1.176, allocations: 0.7281 MB / 1.176 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/1.181, allocations: 5.916 MB / 1.182 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/1.182, allocations: 0.5539 MB / 1.183 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/1.182, allocations: 325.9 kB / 1.183 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/1.183, allocations: 4.438 kB / 1.183 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.183, allocations: 38.31 kB / 1.183 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/1.183, allocations: 0 / 1.183 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.002366/1.185, allocations: 1.23 MB / 1.184 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.185, allocations: 55.84 kB / 1.184 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/1.186, allocations: 486.5 kB / 1.185 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/1.186, allocations: 36.39 kB / 1.185 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/1.186, allocations: 403.5 kB / 1.185 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/1.186, allocations: 166.5 kB / 1.185 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/1.186, allocations: 18.38 kB / 1.185 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.186, allocations: 376 kB / 1.186 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/1.187, allocations: 259 kB / 1.186 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/1.187, allocations: 457.8 kB / 1.187 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/1.188, allocations: 335.8 kB / 1.187 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.188, allocations: 4 kB / 1.187 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001755/1.19, allocations: 1.044 MB / 1.188 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.19, allocations: 12.03 kB / 1.188 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.19, allocations: 7.938 kB / 1.188 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008811/1.19, allocations: 272.9 kB / 1.188 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/1.191, allocations: 115.3 kB / 1.188 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/1.197, allocations: 6.58 MB / 1.195 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/1.198, allocations: 38.34 kB / 1.195 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/1.198, allocations: 27.67 kB / 1.195 GB, free: 1.941 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 () * 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.0002311/1.198, allocations: 149.9 kB / 1.195 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/1.198, allocations: 71.16 kB / 1.195 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.2, allocations: 0.8755 MB / 1.196 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.2, allocations: 11.94 kB / 1.196 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.2, allocations: 7.938 kB / 1.196 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.2, allocations: 4.172 kB / 1.196 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/1.203, allocations: 1.706 MB / 1.197 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/1.203, allocations: 4 kB / 1.197 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/1.203, allocations: 59.89 kB / 1.198 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007607/1.204, allocations: 263.8 kB / 1.198 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/1.204, allocations: 11.19 kB / 1.198 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006948/1.211, allocations: 6.578 MB / 1.204 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.211, allocations: 4.031 kB / 1.204 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.213, allocations: 1.041 MB / 1.205 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/1.214, allocations: 192.6 kB / 1.205 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.214, allocations: 11.8 kB / 1.205 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/1.214, allocations: 26.09 kB / 1.205 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.214, allocations: 47.14 kB / 1.206 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/1.214, allocations: 15.94 kB / 1.206 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005445/1.215, allocations: 379.6 kB / 1.206 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/1.215, allocations: 0 / 1.206 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001065/1.216, allocations: 228.4 kB / 1.206 GB, free: 7.328 MB / 0.7761 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 () * 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.0002276/1.216, allocations: 118.1 kB / 1.206 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.218, allocations: 1.242 MB / 1.207 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.218, allocations: 0 / 1.207 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.22, allocations: 0.88 MB / 1.208 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.221, allocations: 196.2 kB / 1.208 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/1.223, allocations: 0.974 MB / 1.209 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/1.224, allocations: 1.021 MB / 1.21 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005746/1.224, allocations: 119.2 kB / 1.211 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/1.225, allocations: 39.44 kB / 1.211 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of SimCode: time 1.182e-06/1.225, allocations: 3.938 kB / 1.211 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.02094/1.246, allocations: 10.32 MB / 1.221 GB, free: 8.926 MB / 0.7917 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)