Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008787/0.008787, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 222.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.552/1.552, allocations: 252 MB / 0.5105 GB, free: 4.691 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005702/0.0005702, allocations: 24.56 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5295, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003968/0.5335, allocations: 3.233 MB / 0.7319 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.5362, allocations: 1.769 MB / 0.7336 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.5364, allocations: 7.938 kB / 0.7336 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.5366, allocations: 39.7 kB / 0.7337 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004617/0.537, allocations: 183.2 kB / 0.7338 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.5376, allocations: 231.5 kB / 0.7341 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.5381, allocations: 0.4908 MB / 0.7345 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007435/0.5388, allocations: 412.5 kB / 0.7349 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.539, allocations: 131.4 kB / 0.7351 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.5393, allocations: 171.4 kB / 0.7352 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.5394, allocations: 12 kB / 0.7352 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.5398, allocations: 307.4 kB / 0.7355 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.5399, allocations: 83.72 kB / 0.7356 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.5401, allocations: 149 kB / 0.7357 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.5405, allocations: 474.4 kB / 0.7362 GB, free: 3.578 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5405, allocations: 0 / 0.7362 GB, free: 3.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.554e-06/0.5406, allocations: 0 / 0.7362 GB, free: 3.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5406, allocations: 0 / 0.7362 GB, free: 3.578 MB / 0.545 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.001097/0.5417, allocations: 0.5943 MB / 0.7368 GB, free: 2.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5417, allocations: 12.03 kB / 0.7368 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.5424, allocations: 96.47 kB / 0.7369 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.5428, allocations: 287.4 kB / 0.7372 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5428, allocations: 20.8 kB / 0.7372 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.5429, allocations: 24.38 kB / 0.7372 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.5436, allocations: 426.9 kB / 0.7376 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5437, allocations: 11.78 kB / 0.7376 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.5437, allocations: 8 kB / 0.7376 GB, free: 1.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.5437, allocations: 24.36 kB / 0.7376 GB, free: 1.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.5446, allocations: 412.8 kB / 0.738 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.5464, allocations: 1.619 MB / 0.7396 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.5475, allocations: 479.8 kB / 0.7401 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.548, allocations: 213.5 kB / 0.7403 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5481, allocations: 89.09 kB / 0.7404 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.5487, allocations: 279.9 kB / 0.7406 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.5487, allocations: 0 / 0.7406 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.001913/0.5506, allocations: 0.7878 MB / 0.7414 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5507, allocations: 81.11 kB / 0.7415 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.5509, allocations: 225 kB / 0.7417 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.5509, allocations: 33.7 kB / 0.7417 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5511, allocations: 164.3 kB / 0.7419 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.5511, allocations: 94.64 kB / 0.742 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.5512, allocations: 37.7 kB / 0.742 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5513, allocations: 330.8 kB / 0.7423 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.5518, allocations: 188.1 kB / 0.7425 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.5522, allocations: 257.3 kB / 0.7427 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.5531, allocations: 492.4 kB / 0.7432 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5531, allocations: 4 kB / 0.7432 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00111/0.5542, allocations: 0.563 MB / 0.7438 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5544, allocations: 184.5 kB / 0.7439 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5544, allocations: 4 kB / 0.744 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.5546, allocations: 40.83 kB / 0.744 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.555, allocations: 87.86 kB / 0.7441 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.5563, allocations: 1.501 MB / 0.7455 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.5567, allocations: 55.8 kB / 0.7456 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.5567, allocations: 11.94 kB / 0.7456 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.5567, allocations: 4 kB / 0.7456 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/0.5578, allocations: 0.4986 MB / 0.7461 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5578, allocations: 4.062 kB / 0.7461 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.558, allocations: 44.75 kB / 0.7461 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.5583, allocations: 91.97 kB / 0.7462 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5595, allocations: 1.481 MB / 0.7477 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.5598, allocations: 51.8 kB / 0.7477 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.5598, allocations: 8 kB / 0.7477 GB, free: 6.957 MB / 0.5606 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 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.56, allocations: 245 kB / 0.748 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.5601, allocations: 31.66 kB / 0.748 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.5611, allocations: 496.7 kB / 0.7485 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5611, allocations: 8.141 kB / 0.7485 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5612, allocations: 0 / 0.7485 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5612, allocations: 3.984 kB / 0.7485 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.5618, allocations: 0.57 MB / 0.749 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5618, allocations: 0 / 0.749 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.5622, allocations: 84.02 kB / 0.7491 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.5623, allocations: 32.83 kB / 0.7491 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.5623, allocations: 8 kB / 0.7492 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.5633, allocations: 1.409 MB / 0.7505 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5634, allocations: 8.016 kB / 0.7505 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009666/0.5643, allocations: 0.5653 MB / 0.7511 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5645, allocations: 136.7 kB / 0.7512 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.5645, allocations: 4 kB / 0.7512 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.5648, allocations: 43.89 kB / 0.7513 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5649, allocations: 43.89 kB / 0.7513 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.565, allocations: 4 kB / 0.7513 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001583/0.5651, allocations: 180.5 kB / 0.7515 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5651, allocations: 0 / 0.7515 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005654/0.5657, allocations: 127.9 kB / 0.7516 GB, free: 2.711 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.5659, allocations: 119.1 kB / 0.7517 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.5678, allocations: 1.012 MB / 0.7527 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5679, allocations: 0 / 0.7527 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.5685, allocations: 342.8 kB / 0.753 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.5689, allocations: 40.41 kB / 0.7531 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.5701, allocations: 0.7433 MB / 0.7538 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5705, allocations: 0.788 MB / 0.7546 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.5708, allocations: 94.19 kB / 0.7547 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5709, allocations: 31.42 kB / 0.7547 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.5709, allocations: 3.938 kB / 0.7547 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of Templates: time 0.008412/0.5793, allocations: 4.141 MB / 0.7587 GB, free: 11.33 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: