Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.0009819/0.0009819, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.662/1.662, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0008244/0.0008243, allocations: 92.67 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.193e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6691, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/0.891, allocations: 161.5 MB / 1.131 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.8914, allocations: 96.42 kB / 1.131 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09048/0.9819, allocations: 36.63 MB / 1.167 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9819, allocations: 0 / 1.167 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.986e-05/0.982, allocations: 23.98 kB / 1.167 GB, free: 15.62 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0018/0.9838, allocations: 0.8605 MB / 1.168 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.9839, allocations: 8.031 kB / 1.168 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.9856, allocations: 214.8 kB / 1.168 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.9868, allocations: 0.5439 MB / 1.168 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.9868, allocations: 20 kB / 1.168 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.987, allocations: 36 kB / 1.169 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/0.9881, allocations: 0.546 MB / 1.169 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.9895, allocations: 0.9795 MB / 1.17 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.9896, allocations: 14.84 kB / 1.17 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.9897, allocations: 4 kB / 1.17 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.083e-05/0.9897, allocations: 65.22 kB / 1.17 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.9953, allocations: 5.629 MB / 1.176 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.9962, allocations: 0.5758 MB / 1.176 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.9968, allocations: 385.7 kB / 1.177 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.9969, allocations: 4 kB / 1.177 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.9969, allocations: 39.25 kB / 1.177 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 1.884e-06/0.997, allocations: 0 / 1.177 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.002334/0.9993, allocations: 1.154 MB / 1.178 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.9993, allocations: 55.41 kB / 1.178 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.9998, allocations: 329.1 kB / 1.178 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.9998, allocations: 25.7 kB / 1.178 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1, allocations: 375 kB / 1.178 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/1, allocations: 153.8 kB / 1.179 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/1, allocations: 0 / 1.179 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1, allocations: 361.1 kB / 1.179 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.001, allocations: 229 kB / 1.179 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/1.001, allocations: 400.4 kB / 1.18 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/1.002, allocations: 300.3 kB / 1.18 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.002, allocations: 0 / 1.18 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001725/1.003, allocations: 0.9335 MB / 1.181 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.003, allocations: 13.22 kB / 1.181 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.003, allocations: 4 kB / 1.181 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009448/1.004, allocations: 311.1 kB / 1.181 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/1.005, allocations: 83.83 kB / 1.181 GB, free: 176 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/1.011, allocations: 6.844 MB / 1.188 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/1.012, allocations: 15.98 kB / 1.188 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/1.012, allocations: 27.67 kB / 1.188 GB, free: 8.809 MB / 0.7917 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.012, allocations: 121.8 kB / 1.188 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.012, allocations: 59.38 kB / 1.188 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/1.014, allocations: 0.8333 MB / 1.189 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.014, allocations: 11.95 kB / 1.189 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.014, allocations: 7.938 kB / 1.189 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.014, allocations: 4.672 kB / 1.189 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/1.017, allocations: 1.708 MB / 1.191 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.017, allocations: 0 / 1.191 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/1.017, allocations: 43.97 kB / 1.191 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008005/1.018, allocations: 282.3 kB / 1.191 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.018, allocations: 0 / 1.191 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/1.024, allocations: 6.555 MB / 1.197 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.024, allocations: 0 / 1.197 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.025, allocations: 0.9663 MB / 1.198 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/1.026, allocations: 171.4 kB / 1.198 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/1.026, allocations: 3.984 kB / 1.198 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/1.026, allocations: 11.98 kB / 1.198 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/1.026, allocations: 43.94 kB / 1.198 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/1.026, allocations: 17.22 kB / 1.198 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002743/1.026, allocations: 239 kB / 1.199 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.2e-07/1.026, allocations: 0 / 1.199 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008647/1.027, allocations: 172 kB / 1.199 GB, free: 12.86 MB / 0.8073 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/1.028, allocations: 124.5 kB / 1.199 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00169/1.029, allocations: 1.089 MB / 1.2 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.029, allocations: 0 / 1.2 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.03, allocations: 0.7687 MB / 1.201 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/1.031, allocations: 167.7 kB / 1.201 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/1.033, allocations: 0.8727 MB / 1.202 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/1.034, allocations: 1.004 MB / 1.203 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003605/1.034, allocations: 90.83 kB / 1.203 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/1.034, allocations: 31.44 kB / 1.203 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/1.034, allocations: 4 kB / 1.203 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of Templates: time 0.01516/1.049, allocations: 8.117 MB / 1.211 GB, free: 0.6094 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)