Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 285 MB / 292.5 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002009/0.002009, allocations: 188.8 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009979/0.0009976, allocations: 94.28 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.083e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8257, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/1.089, allocations: 157.9 MB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/1.09, allocations: 94.28 kB / 1.118 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06593/1.156, allocations: 16.15 MB / 1.134 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/1.156, allocations: 0 / 1.134 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.481e-05/1.156, allocations: 7.938 kB / 1.134 GB, free: 14.18 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001099/1.157, allocations: 0.5098 MB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.157, allocations: 12.03 kB / 1.134 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.158, allocations: 100.8 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/1.159, allocations: 264.3 kB / 1.134 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.159, allocations: 4 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/1.159, allocations: 12 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006095/1.159, allocations: 220.7 kB / 1.135 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/1.16, allocations: 333.2 kB / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.16, allocations: 0 / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/1.16, allocations: 0 / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-05/1.16, allocations: 24.25 kB / 1.135 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/1.163, allocations: 1.675 MB / 1.137 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.164, allocations: 309.2 kB / 1.137 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/1.164, allocations: 133.7 kB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/1.165, allocations: 89.09 kB / 1.137 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.165, allocations: 34.55 kB / 1.137 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.946e-06/1.165, allocations: 4 kB / 1.137 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.001283/1.166, allocations: 362.8 kB / 1.138 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.166, allocations: 89.02 kB / 1.138 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/1.166, allocations: 169.8 kB / 1.138 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/1.166, allocations: 25.7 kB / 1.138 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.166, allocations: 163.9 kB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/1.166, allocations: 63.02 kB / 1.138 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.167, allocations: 96 / 1.138 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.167, allocations: 338.8 kB / 1.138 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/1.167, allocations: 107.9 kB / 1.138 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/1.167, allocations: 186.4 kB / 1.139 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/1.168, allocations: 152.7 kB / 1.139 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.168, allocations: 0 / 1.139 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001095/1.169, allocations: 380.7 kB / 1.139 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004905/1.169, allocations: 1.052 MB / 1.14 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.169, allocations: 4 kB / 1.14 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/1.17, allocations: 36.83 kB / 1.14 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/1.17, allocations: 75.88 kB / 1.14 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/1.172, allocations: 1.436 MB / 1.142 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/1.173, allocations: 23.88 kB / 1.142 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.173, allocations: 16 kB / 1.142 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.173, allocations: 4 kB / 1.142 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009403/1.174, allocations: 310.6 kB / 1.142 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.174, allocations: 4 kB / 1.142 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/1.174, allocations: 44.81 kB / 1.142 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/1.175, allocations: 68.23 kB / 1.142 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/1.176, allocations: 1.421 MB / 1.143 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/1.177, allocations: 28.03 kB / 1.144 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/1.177, allocations: 12 kB / 1.144 GB, free: 3.258 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/1.177, allocations: 116.6 kB / 1.144 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/1.177, allocations: 23.72 kB / 1.144 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009472/1.178, allocations: 329.2 kB / 1.144 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.178, allocations: 4.141 kB / 1.144 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.178, allocations: 0 / 1.144 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.178, allocations: 3.984 kB / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/1.18, allocations: 0.8828 MB / 1.145 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.18, allocations: 4 kB / 1.145 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/1.18, allocations: 51.95 kB / 1.145 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/1.181, allocations: 36.83 kB / 1.145 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.181, allocations: 3.938 kB / 1.145 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/1.182, allocations: 1.352 MB / 1.146 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.182, allocations: 0 / 1.146 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.183, allocations: 0.583 MB / 1.147 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/1.184, allocations: 128.8 kB / 1.147 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/1.184, allocations: 0 / 1.147 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/1.184, allocations: 23.97 kB / 1.147 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/1.184, allocations: 19.92 kB / 1.147 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/1.184, allocations: 15.89 kB / 1.147 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001984/1.184, allocations: 140.2 kB / 1.147 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/1.184, allocations: 0 / 1.147 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009336/1.185, allocations: 103.9 kB / 1.147 GB, free: 15.16 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/1.186, allocations: 123.1 kB / 1.147 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001475/1.187, allocations: 0.6332 MB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.187, allocations: 5.375 kB / 1.148 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/1.188, allocations: 247.2 kB / 1.148 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/1.188, allocations: 23.97 kB / 1.148 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.189, allocations: 403.8 kB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/1.19, allocations: 0.7717 MB / 1.149 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004976/1.19, allocations: 101.4 kB / 1.149 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/1.19, allocations: 19.44 kB / 1.149 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/1.19, allocations: 0 / 1.149 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.009976/1.2, allocations: 3.002 MB / 1.152 GB, free: 9.809 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)