Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.00124/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 190.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.23 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4022, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.006721/0.409, allocations: 3.557 MB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.4128, allocations: 1.889 MB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.4132, allocations: 11.88 kB / 1.074 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.4143, allocations: 239 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008726/0.4151, allocations: 219 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.4161, allocations: 251.3 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.4168, allocations: 394.5 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000506/0.4173, allocations: 213.8 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.4177, allocations: 163.5 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.4181, allocations: 179.3 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.4182, allocations: 28 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.4188, allocations: 283.4 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.419, allocations: 99.72 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.4192, allocations: 147.3 kB / 1.076 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.42, allocations: 486.8 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.42, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4201, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.4201, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 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.001564/0.4216, allocations: 0.637 MB / 1.077 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4217, allocations: 12.03 kB / 1.077 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.4228, allocations: 116.4 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.4232, allocations: 281.6 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.4232, allocations: 20.8 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.4233, allocations: 20.38 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.4242, allocations: 430.8 kB / 1.078 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.4242, allocations: 4 kB / 1.078 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.4243, allocations: 4 kB / 1.078 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.4243, allocations: 28.36 kB / 1.078 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.4253, allocations: 400.7 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.4275, allocations: 1.63 MB / 1.08 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4288, allocations: 482.7 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.4293, allocations: 193.6 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.4294, allocations: 97.08 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.4301, allocations: 271.6 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.4301, allocations: 3.938 kB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.002086/0.4322, allocations: 0.7613 MB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.4322, allocations: 81.3 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.4325, allocations: 221 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.4325, allocations: 37.69 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4327, allocations: 164.3 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.4328, allocations: 94.64 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.4329, allocations: 65.69 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.433, allocations: 334.8 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.4335, allocations: 188.8 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.434, allocations: 249.3 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.435, allocations: 463.4 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.435, allocations: 7.938 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001254/0.4363, allocations: 0.5475 MB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.4363, allocations: 33.7 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4363, allocations: 0 / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.4366, allocations: 40.83 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.4371, allocations: 88 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.4386, allocations: 1.615 MB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.439, allocations: 47.8 kB / 1.085 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.439, allocations: 15.98 kB / 1.085 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005386/0.4396, allocations: 285.5 kB / 1.086 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004655/0.44, allocations: 242.5 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009432/0.441, allocations: 453.1 kB / 1.086 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.441, allocations: 0 / 1.086 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001225/0.4423, allocations: 0.5308 MB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.4423, allocations: 39.25 kB / 1.087 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4423, allocations: 3.984 kB / 1.087 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.4425, allocations: 40.83 kB / 1.087 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.4429, allocations: 83.86 kB / 1.087 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.4443, allocations: 1.611 MB / 1.089 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.4446, allocations: 43.8 kB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.4447, allocations: 19.98 kB / 1.089 GB, free: 4.539 MB / 0.8419 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.0002212/0.4449, allocations: 200.1 kB / 1.089 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.445, allocations: 27.72 kB / 1.089 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.4461, allocations: 483 kB / 1.089 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4462, allocations: 4 kB / 1.089 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4462, allocations: 0 / 1.089 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4462, allocations: 4 kB / 1.089 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.4469, allocations: 0.5661 MB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4469, allocations: 8.094 kB / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.4473, allocations: 71.86 kB / 1.09 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.4474, allocations: 36.83 kB / 1.09 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.4475, allocations: 11.98 kB / 1.09 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.4487, allocations: 1.523 MB / 1.092 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4487, allocations: 7.969 kB / 1.092 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4497, allocations: 0.5419 MB / 1.092 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.4499, allocations: 128.7 kB / 1.092 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.4499, allocations: 8 kB / 1.092 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.4503, allocations: 39.94 kB / 1.092 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4504, allocations: 23.97 kB / 1.092 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.4504, allocations: 15.98 kB / 1.092 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002083/0.4506, allocations: 180.5 kB / 1.092 GB, free: 420 kB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4506, allocations: 0 / 1.092 GB, free: 420 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006173/0.4512, allocations: 124 kB / 1.093 GB, free: 296 kB / 0.8419 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.0002012/0.4515, allocations: 120.6 kB / 1.093 GB, free: 168 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.4535, allocations: 1.025 MB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4536, allocations: 0 / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.4542, allocations: 327.4 kB / 1.094 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4546, allocations: 62.02 kB / 1.094 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.4559, allocations: 0.604 MB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.4563, allocations: 0.7878 MB / 1.095 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.4566, allocations: 102.2 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4567, allocations: 27.44 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.4567, allocations: 0 / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of Templates: time 0.009883/0.4666, allocations: 4.777 MB / 1.1 GB, free: 8.375 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)