Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001021/0.001022, allocations: 91.38 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.008385/0.008385, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 9.344 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4511, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004754/0.4559, allocations: 3.241 MB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.4595, allocations: 1.874 MB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.4599, allocations: 0 / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.4602, allocations: 39.7 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009872/0.4612, allocations: 195.2 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/0.4622, allocations: 227.5 kB / 1.08 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007925/0.463, allocations: 0.5061 MB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009034/0.464, allocations: 406.6 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.4643, allocations: 139.4 kB / 1.081 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.4647, allocations: 171.3 kB / 1.081 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.4648, allocations: 16 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007707/0.4655, allocations: 335.3 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.4657, allocations: 83.77 kB / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.4659, allocations: 153 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.4666, allocations: 494.6 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4666, allocations: 0 / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.427e-06/0.4666, allocations: 0 / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.4666, allocations: 0 / 1.082 GB, free: 15.67 MB / 0.8419 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.001396/0.468, allocations: 0.6058 MB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4681, allocations: 12.03 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.4691, allocations: 120.4 kB / 1.083 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.4695, allocations: 277.6 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.4695, allocations: 16.81 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.4696, allocations: 24.31 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.4705, allocations: 442.9 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4705, allocations: 3.938 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.4706, allocations: 7.984 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.4706, allocations: 28.36 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4716, allocations: 428.8 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.4737, allocations: 1.627 MB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.475, allocations: 0.4931 MB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.4755, allocations: 217.5 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.4757, allocations: 85.09 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006258/0.4763, allocations: 290.5 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 1.953e-06/0.4763, allocations: 4 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.00213/0.4785, allocations: 0.8082 MB / 1.087 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.4785, allocations: 85.09 kB / 1.087 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4788, allocations: 221 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.4788, allocations: 29.7 kB / 1.087 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.4789, allocations: 172.3 kB / 1.088 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/0.479, allocations: 94.64 kB / 1.088 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.4791, allocations: 33.7 kB / 1.088 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4792, allocations: 334.8 kB / 1.088 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.4797, allocations: 188.2 kB / 1.088 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.4802, allocations: 261.3 kB / 1.088 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.4812, allocations: 496.2 kB / 1.089 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4812, allocations: 0 / 1.089 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00124/0.4825, allocations: 0.5749 MB / 1.089 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.4826, allocations: 183 kB / 1.09 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4826, allocations: 4 kB / 1.09 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.4829, allocations: 44.81 kB / 1.09 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.4834, allocations: 91.86 kB / 1.09 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.485, allocations: 1.497 MB / 1.091 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.4854, allocations: 59.78 kB / 1.091 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.4854, allocations: 8 kB / 1.091 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.4854, allocations: 7.938 kB / 1.091 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/0.4866, allocations: 0.5138 MB / 1.092 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.4867, allocations: 4 kB / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.4868, allocations: 48.91 kB / 1.092 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.4872, allocations: 87.81 kB / 1.092 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.4886, allocations: 1.497 MB / 1.093 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.489, allocations: 51.8 kB / 1.093 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.489, allocations: 16.06 kB / 1.093 GB, free: 2.859 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.0003044/0.4893, allocations: 241.3 kB / 1.094 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.4894, allocations: 27.66 kB / 1.094 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.4906, allocations: 0.4927 MB / 1.094 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4906, allocations: 4 kB / 1.094 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4906, allocations: 0 / 1.094 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4906, allocations: 0 / 1.094 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007599/0.4914, allocations: 0.5778 MB / 1.095 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4914, allocations: 64 / 1.095 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.4918, allocations: 83.86 kB / 1.095 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.4919, allocations: 36.92 kB / 1.095 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.492, allocations: 11.98 kB / 1.095 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.4932, allocations: 1.417 MB / 1.096 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4932, allocations: 0 / 1.096 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4943, allocations: 0.5732 MB / 1.097 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4945, allocations: 140.6 kB / 1.097 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.4945, allocations: 4 kB / 1.097 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.4949, allocations: 43.95 kB / 1.097 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.495, allocations: 31.89 kB / 1.097 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.495, allocations: 16 kB / 1.097 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002274/0.4952, allocations: 180.5 kB / 1.097 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4952, allocations: 0 / 1.097 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006316/0.4959, allocations: 127.9 kB / 1.097 GB, free: 14.6 MB / 0.8575 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.0002424/0.4961, allocations: 116.5 kB / 1.098 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.4982, allocations: 1.025 MB / 1.099 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.4982, allocations: 0 / 1.099 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.4988, allocations: 355.2 kB / 1.099 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.4994, allocations: 48.34 kB / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5008, allocations: 0.7296 MB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.5013, allocations: 0.7878 MB / 1.1 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.5016, allocations: 98.19 kB / 1.1 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5017, allocations: 27.42 kB / 1.1 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.5017, allocations: 0 / 1.1 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.009376/0.5111, allocations: 4.409 MB / 1.105 GB, free: 6.934 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)