Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.184/5.184, allocations: 0.5623 GB / 0.5776 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002623/0.002623, allocations: 357.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.848/4.848, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002716/0.002716, allocations: 187.4 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005086, allocations: 15.98 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.781, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004945/0.786, allocations: 2.496 MB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.79, allocations: 1.562 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.7903, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.7905, allocations: 33.12 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.7912, allocations: 132.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.7922, allocations: 165.5 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.7928, allocations: 346.9 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.794, allocations: 362.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.7943, allocations: 103.4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.7948, allocations: 143.4 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.7948, allocations: 12 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.7954, allocations: 135.8 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.7955, allocations: 67.8 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.7957, allocations: 69.56 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.7963, allocations: 305.3 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7963, allocations: 0 / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7963, allocations: 0 / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.7963, allocations: 2.969 kB / 1.467 GB, free: 278.4 MB / 0.8542 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.001208/0.7975, allocations: 0.5027 MB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.7976, allocations: 15.61 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.7992, allocations: 100.5 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.7998, allocations: 262.3 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.7998, allocations: 13.53 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.7999, allocations: 16 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.8011, allocations: 381 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.8012, allocations: 4.625 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.8012, allocations: 4 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.8013, allocations: 32.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.8026, allocations: 335.4 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.8056, allocations: 1.736 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.807, allocations: 330.9 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.8077, allocations: 155.9 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.8079, allocations: 85.11 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.8079, allocations: 44.55 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 4.528e-06/0.808, allocations: 0.6562 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.002616/0.8106, allocations: 0.5957 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.8107, allocations: 90.22 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.811, allocations: 198.1 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.811, allocations: 34.8 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.8112, allocations: 163.8 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/0.8113, allocations: 73.66 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.8113, allocations: 8 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.8114, allocations: 330.8 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.812, allocations: 132.5 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.8126, allocations: 212 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.8132, allocations: 165 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8132, allocations: 0 / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001662/0.8149, allocations: 436.8 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.8151, allocations: 169.3 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.8151, allocations: 4 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.8156, allocations: 46.06 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.8163, allocations: 77 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.8184, allocations: 1.49 MB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.819, allocations: 36.84 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.8191, allocations: 17.61 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.8191, allocations: 4 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/0.8206, allocations: 368 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8206, allocations: 0.7188 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.8209, allocations: 46.14 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.8216, allocations: 71.89 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.8235, allocations: 1.489 MB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.8241, allocations: 31.83 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.8242, allocations: 8 kB / 1.477 GB, free: 267.6 MB / 0.8542 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.0003265/0.8245, allocations: 235.2 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.8247, allocations: 23.67 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.8261, allocations: 363.8 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.8262, allocations: 0 / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8262, allocations: 0.6875 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.8264, allocations: 128.7 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.8265, allocations: 6.016 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.8272, allocations: 27.97 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8273, allocations: 23.91 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001695/0.829, allocations: 0.5144 MB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001743/0.8308, allocations: 0.7093 MB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005063/0.8313, allocations: 130.4 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002676/0.8316, allocations: 149.6 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of Backend: time 8.81e-07/0.8316, allocations: 0 / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.835, allocations: 0.7594 MB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001763/0.8368, allocations: 1.01 MB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.01718/0.8541, allocations: 5.147 MB / 1.486 GB, free: 258.5 MB / 0.8542 GB