Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.316/2.316, allocations: 252.6 MB / 265.2 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 180.4 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.33/2.33, allocations: 205.4 MB / 0.5754 GB, free: 10.5 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 101.6 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.207e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2028, allocations: 106.2 MB / 0.8949 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9313/1.134, allocations: 152.3 MB / 1.044 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/1.135, allocations: 89.75 kB / 1.044 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.06951/1.204, allocations: 16.22 MB / 1.06 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.714e-06/1.204, allocations: 0 / 1.06 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.71e-05/1.204, allocations: 8 kB / 1.06 GB, free: 2.188 MB / 0.6667 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.001123/1.205, allocations: 0.519 MB / 1.06 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.205, allocations: 12.03 kB / 1.06 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/1.207, allocations: 91.61 kB / 1.06 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/1.207, allocations: 255.9 kB / 1.06 GB, free: 1.266 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.207, allocations: 19.62 kB / 1.06 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/1.207, allocations: 19.38 kB / 1.06 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/1.208, allocations: 349.7 kB / 1.061 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/1.208, allocations: 0 / 1.061 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/1.208, allocations: 15.06 kB / 1.061 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/1.208, allocations: 20.31 kB / 1.061 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/1.209, allocations: 293.9 kB / 1.061 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/1.212, allocations: 1.723 MB / 1.063 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.213, allocations: 325.7 kB / 1.063 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/1.213, allocations: 137.7 kB / 1.063 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/1.214, allocations: 96.2 kB / 1.063 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.214, allocations: 34.5 kB / 1.063 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 3.466e-06/1.214, allocations: 3.938 kB / 1.063 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.001237/1.215, allocations: 376.5 kB / 1.064 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/1.215, allocations: 85.11 kB / 1.064 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/1.215, allocations: 179.8 kB / 1.064 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/1.215, allocations: 28.89 kB / 1.064 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.215, allocations: 161.5 kB / 1.064 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/1.216, allocations: 73.16 kB / 1.064 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/1.216, allocations: 7.438 kB / 1.064 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.216, allocations: 333.6 kB / 1.065 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/1.216, allocations: 117.3 kB / 1.065 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/1.216, allocations: 194.1 kB / 1.065 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/1.217, allocations: 141.7 kB / 1.065 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.217, allocations: 0 / 1.065 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001083/1.218, allocations: 405.8 kB / 1.065 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000482/1.218, allocations: 1.045 MB / 1.066 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.218, allocations: 4 kB / 1.066 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/1.219, allocations: 47.12 kB / 1.066 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/1.219, allocations: 67.89 kB / 1.066 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/1.221, allocations: 1.501 MB / 1.068 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/1.222, allocations: 31.12 kB / 1.068 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/1.222, allocations: 11.31 kB / 1.068 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.222, allocations: 4 kB / 1.068 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009328/1.223, allocations: 333.9 kB / 1.068 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.223, allocations: 7.938 kB / 1.068 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/1.223, allocations: 39.64 kB / 1.068 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/1.224, allocations: 68.23 kB / 1.068 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/1.225, allocations: 1.482 MB / 1.07 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/1.226, allocations: 35.38 kB / 1.07 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/1.226, allocations: 10.38 kB / 1.07 GB, free: 8.055 MB / 0.6823 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.0001678/1.226, allocations: 121.9 kB / 1.07 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.226, allocations: 23.8 kB / 1.07 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/1.227, allocations: 327.1 kB / 1.07 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.227, allocations: 4 kB / 1.07 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.227, allocations: 4 kB / 1.07 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.227, allocations: 11.94 kB / 1.07 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/1.229, allocations: 0.9388 MB / 1.071 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.229, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/1.23, allocations: 55.2 kB / 1.071 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/1.23, allocations: 32.77 kB / 1.071 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/1.23, allocations: 11.25 kB / 1.071 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/1.232, allocations: 1.405 MB / 1.073 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.232, allocations: 3.938 kB / 1.073 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/1.233, allocations: 0.5965 MB / 1.073 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/1.233, allocations: 123.8 kB / 1.073 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/1.233, allocations: 11.77 kB / 1.073 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/1.234, allocations: 27.84 kB / 1.073 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.234, allocations: 19.72 kB / 1.074 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/1.234, allocations: 8 kB / 1.074 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002348/1.234, allocations: 152.2 kB / 1.074 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.234, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009135/1.235, allocations: 117.6 kB / 1.074 GB, free: 4.23 MB / 0.6823 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.0002509/1.235, allocations: 123.9 kB / 1.074 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.237, allocations: 0.693 MB / 1.075 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.237, allocations: 4.062 kB / 1.075 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/1.238, allocations: 255.5 kB / 1.075 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/1.238, allocations: 28.19 kB / 1.075 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/1.239, allocations: 415 kB / 1.075 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/1.24, allocations: 0.7782 MB / 1.076 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005792/1.24, allocations: 89.98 kB / 1.076 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/1.241, allocations: 27.3 kB / 1.076 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of SimCode: time 1.834e-06/1.241, allocations: 0 / 1.076 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of Templates: time 0.0117/1.252, allocations: 3.19 MB / 1.079 GB, free: 14.81 MB / 0.698 GB