Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.158/5.158, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 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.003788/0.003788, allocations: 356.1 kB / 0.644 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.091/4.091, allocations: 410.7 MB / 1.112 GB, free: 5.918 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.001769/0.001768, allocations: 180.3 kB / 1.225 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 12 kB / 1.348 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/0.5883, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003645/0.5919, allocations: 3.109 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.5946, allocations: 1.646 MB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.5948, allocations: 9.156 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.595, allocations: 23.78 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.5955, allocations: 153.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.5961, allocations: 184.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.5965, allocations: 414.6 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/0.5973, allocations: 372 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.5975, allocations: 131.5 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.5978, allocations: 167.4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.5979, allocations: 16.75 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.5983, allocations: 139.7 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.5984, allocations: 84.23 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.5984, allocations: 74.17 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.5988, allocations: 341.2 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5989, allocations: 1.219 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.802e-06/0.5989, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5989, allocations: 0 / 1.467 GB, free: 277.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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001038/0.5999, allocations: 0.6092 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6, allocations: 14.31 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.6009, allocations: 107.5 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.6013, allocations: 272.5 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.6013, allocations: 12.44 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.6014, allocations: 25.03 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.6023, allocations: 423.4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.6023, allocations: 0 / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.6024, allocations: 14.73 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.6024, allocations: 24.36 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.6035, allocations: 428.5 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.6054, allocations: 1.608 MB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.6067, allocations: 0.4911 MB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.6072, allocations: 208.2 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.6074, allocations: 91.89 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005977/0.608, allocations: 277.8 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 2.918e-06/0.608, allocations: 0 / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.002152/0.6102, allocations: 0.7864 MB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.6102, allocations: 81.11 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.6105, allocations: 223.1 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.6105, allocations: 37.69 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.6106, allocations: 160.3 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.6107, allocations: 94.59 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.6107, allocations: 9.125 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.6108, allocations: 338.8 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.6113, allocations: 182.9 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.6119, allocations: 250.4 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.6125, allocations: 235.8 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.722e-06/0.6125, allocations: 0 / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001523/0.6141, allocations: 0.5503 MB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.6142, allocations: 191.6 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.715e-06/0.6142, allocations: 3.938 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.6145, allocations: 50.66 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.615, allocations: 84.67 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.6164, allocations: 1.503 MB / 1.476 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.6169, allocations: 51.27 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.617, allocations: 12 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.234e-06/0.617, allocations: 4 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/0.6183, allocations: 0.4967 MB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.6184, allocations: 4 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.6186, allocations: 42.22 kB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.619, allocations: 89.48 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.6203, allocations: 1.491 MB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.6207, allocations: 48.98 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.6208, allocations: 13.56 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002443/0.6211, allocations: 239.7 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.6211, allocations: 27.7 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.6225, allocations: 499 kB / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/0.6225, allocations: 4 kB / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.556e-06/0.6226, allocations: 0 / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.6226, allocations: 0 / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.6233, allocations: 0.5734 MB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.6233, allocations: 0 / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.6238, allocations: 87.84 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.624, allocations: 36.72 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.6241, allocations: 8 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.6252, allocations: 1.401 MB / 1.481 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6252, allocations: 1.75 kB / 1.481 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.6265, allocations: 0.5634 MB / 1.482 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.6266, allocations: 140.7 kB / 1.482 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.6267, allocations: 9.594 kB / 1.482 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.6271, allocations: 41.3 kB / 1.482 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.6272, allocations: 35.91 kB / 1.482 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6273, allocations: 13.06 kB / 1.482 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001724/0.6275, allocations: 172.5 kB / 1.482 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.48e-07/0.6275, allocations: 8.562 kB / 1.482 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007825/0.6283, allocations: 124 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001589/0.6285, allocations: 110.1 kB / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.6306, allocations: 1.009 MB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.733e-06/0.6306, allocations: 1.125 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000719/0.6313, allocations: 342.2 kB / 1.484 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.6319, allocations: 46.22 kB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.6333, allocations: 0.7376 MB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.6336, allocations: 0.7952 MB / 1.485 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003845/0.634, allocations: 94.84 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.6342, allocations: 27.42 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.664e-06/0.6342, allocations: 0 / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01008/0.6443, allocations: 4.031 MB / 1.49 GB, free: 254 MB / 0.8542 GB