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.798/2.798, allocations: 287.5 MB / 302.5 MB, free: 8.285 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.001569/0.001569, allocations: 180 kB / 371 MB, free: 10.79 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.247/2.247, allocations: 205.4 MB / 0.6297 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 89.67 kB / 0.743 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.000494, allocations: 11.16 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9573/1.179, allocations: 158.7 MB / 1.133 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/1.18, allocations: 88.7 kB / 1.133 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06347/1.243, allocations: 16.32 MB / 1.149 GB, free: 24.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.985e-06/1.243, allocations: 0 / 1.149 GB, free: 24.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.65e-05/1.243, allocations: 7.375 kB / 1.149 GB, free: 24.99 MB / 0.698 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.001144/1.244, allocations: 0.5336 MB / 1.15 GB, free: 24.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.244, allocations: 7.75 kB / 1.15 GB, free: 24.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.246, allocations: 100.4 kB / 1.15 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/1.246, allocations: 264.2 kB / 1.15 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/1.246, allocations: 19.03 kB / 1.15 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/1.246, allocations: 19.22 kB / 1.15 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/1.247, allocations: 371.2 kB / 1.151 GB, free: 24.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.247, allocations: 3.438 kB / 1.151 GB, free: 24.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/1.247, allocations: 7.531 kB / 1.151 GB, free: 24.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/1.247, allocations: 23 kB / 1.151 GB, free: 24.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/1.248, allocations: 335.4 kB / 1.151 GB, free: 23.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/1.251, allocations: 1.725 MB / 1.153 GB, free: 22.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.252, allocations: 344 kB / 1.153 GB, free: 22.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/1.252, allocations: 80.98 kB / 1.153 GB, free: 22.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.253, allocations: 45.7 kB / 1.153 GB, free: 22.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.427e-06/1.253, allocations: 0 / 1.153 GB, free: 22.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.002331/1.255, allocations: 0.6031 MB / 1.154 GB, free: 22.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/1.255, allocations: 85.02 kB / 1.154 GB, free: 21.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/1.255, allocations: 189.8 kB / 1.154 GB, free: 21.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/1.255, allocations: 29.14 kB / 1.154 GB, free: 21.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.255, allocations: 164.9 kB / 1.154 GB, free: 21.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/1.256, allocations: 66.14 kB / 1.154 GB, free: 21.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/1.256, allocations: 10.47 kB / 1.154 GB, free: 21.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.256, allocations: 329.8 kB / 1.155 GB, free: 21.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/1.256, allocations: 132.5 kB / 1.155 GB, free: 21.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/1.257, allocations: 218.2 kB / 1.155 GB, free: 21.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/1.257, allocations: 164.4 kB / 1.155 GB, free: 20.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.257, allocations: 0 / 1.155 GB, free: 20.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001342/1.259, allocations: 439.8 kB / 1.155 GB, free: 20.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004586/1.259, allocations: 1.045 MB / 1.156 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.259, allocations: 4 kB / 1.156 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/1.26, allocations: 47.33 kB / 1.157 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/1.26, allocations: 75.12 kB / 1.157 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/1.262, allocations: 1.508 MB / 1.158 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/1.263, allocations: 31.05 kB / 1.158 GB, free: 17.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.263, allocations: 15.25 kB / 1.158 GB, free: 17.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.263, allocations: 4 kB / 1.158 GB, free: 17.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/1.264, allocations: 367.7 kB / 1.158 GB, free: 17.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.264, allocations: 8.281 kB / 1.158 GB, free: 17.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/1.264, allocations: 44.78 kB / 1.159 GB, free: 17.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/1.265, allocations: 67.88 kB / 1.159 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/1.267, allocations: 1.5 MB / 1.16 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/1.267, allocations: 34.45 kB / 1.16 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/1.267, allocations: 11.98 kB / 1.16 GB, free: 15.89 MB / 0.698 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 () * Number of clocked 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.0003204/1.267, allocations: 233.9 kB / 1.16 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/1.268, allocations: 19.72 kB / 1.16 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/1.269, allocations: 368.8 kB / 1.161 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.269, allocations: 4 kB / 1.161 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.269, allocations: 4 kB / 1.161 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.269, allocations: 3.984 kB / 1.161 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/1.271, allocations: 0.9645 MB / 1.162 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.271, allocations: 3.984 kB / 1.162 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/1.271, allocations: 55.28 kB / 1.162 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/1.272, allocations: 40.47 kB / 1.162 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.272, allocations: 6.875 kB / 1.162 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.273, allocations: 1.417 MB / 1.163 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.273, allocations: 8.031 kB / 1.163 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.274, allocations: 0.6253 MB / 1.164 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/1.275, allocations: 126.5 kB / 1.164 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/1.275, allocations: 7 kB / 1.164 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/1.275, allocations: 26.8 kB / 1.164 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/1.275, allocations: 27.17 kB / 1.164 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.275, allocations: 4 kB / 1.164 GB, free: 12.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002027/1.275, allocations: 156.6 kB / 1.164 GB, free: 11.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.275, allocations: 0 / 1.164 GB, free: 11.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008452/1.276, allocations: 117.4 kB / 1.164 GB, free: 11.88 MB / 0.698 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 () * Number of clocked 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.0002157/1.276, allocations: 125.9 kB / 1.164 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001926/1.278, allocations: 0.7437 MB / 1.165 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.278, allocations: 0 / 1.165 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/1.279, allocations: 275.5 kB / 1.165 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/1.28, allocations: 28.72 kB / 1.165 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.281, allocations: 0.6688 MB / 1.166 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/1.281, allocations: 0.7783 MB / 1.167 GB, free: 9.414 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004333/1.282, allocations: 85.86 kB / 1.167 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/1.282, allocations: 27.3 kB / 1.167 GB, free: 9.305 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.282, allocations: 0 / 1.167 GB, free: 9.305 MB / 0.698 GB Notification: Performance of Templates: time 0.009286/1.291, allocations: 2.986 MB / 1.17 GB, free: 6.344 MB / 0.698 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)