Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001147, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.3 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3925, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004672/0.3973, allocations: 2.926 MB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.4002, allocations: 1.835 MB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4004, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.4012, allocations: 223.2 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.4017, allocations: 187.3 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.4023, allocations: 203.1 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.4027, allocations: 438.8 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.4031, allocations: 174 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.4033, allocations: 115.6 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.4036, allocations: 147.4 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.4036, allocations: 12 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.4042, allocations: 339.3 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.4043, allocations: 87.78 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.4044, allocations: 107.4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.4049, allocations: 442.9 kB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4049, allocations: 0 / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4049, allocations: 0 / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4049, allocations: 0 / 1.075 GB, free: 3.738 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009337/0.4059, allocations: 0.5475 MB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4059, allocations: 15.97 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.4069, allocations: 108.5 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4073, allocations: 259.9 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4073, allocations: 12.75 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.4074, allocations: 16.38 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.4081, allocations: 394.5 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4081, allocations: 3.938 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.4081, allocations: 11.98 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.4082, allocations: 24.31 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.4089, allocations: 344.6 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.411, allocations: 1.732 MB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.4118, allocations: 337.2 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.4121, allocations: 153.6 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.4122, allocations: 85.11 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4123, allocations: 38.56 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 2.494e-06/0.4123, allocations: 4 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.001436/0.4137, allocations: 0.593 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4138, allocations: 77.11 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.4141, allocations: 223.9 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4141, allocations: 29.7 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4142, allocations: 159.9 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.4143, allocations: 74.94 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4145, allocations: 61.88 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4146, allocations: 330.7 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.4149, allocations: 141.9 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.4153, allocations: 223.2 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.4159, allocations: 376.8 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4159, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008779/0.4168, allocations: 440.6 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4168, allocations: 4 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4168, allocations: 4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.4171, allocations: 49.16 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.4174, allocations: 71.88 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.4189, allocations: 1.493 MB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.4193, allocations: 43.73 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.4193, allocations: 12 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003748/0.4197, allocations: 237.2 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003352/0.42, allocations: 215.3 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005919/0.4206, allocations: 352.4 kB / 1.083 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.4207, allocations: 0 / 1.083 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000926/0.4216, allocations: 421.7 kB / 1.084 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4216, allocations: 17.12 kB / 1.084 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4216, allocations: 4.375 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.4218, allocations: 45 kB / 1.084 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.4221, allocations: 71.88 kB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4235, allocations: 1.497 MB / 1.085 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.4238, allocations: 35.81 kB / 1.086 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.4239, allocations: 16 kB / 1.086 GB, free: 7.594 MB / 0.8419 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 (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.0001558/0.424, allocations: 200.2 kB / 1.086 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.4241, allocations: 15.81 kB / 1.086 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.4249, allocations: 361.6 kB / 1.086 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4249, allocations: 3.938 kB / 1.086 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4249, allocations: 7.984 kB / 1.086 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4249, allocations: 4 kB / 1.086 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4265, allocations: 0.9561 MB / 1.087 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4265, allocations: 3.938 kB / 1.087 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.4268, allocations: 47.95 kB / 1.087 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.4269, allocations: 44.77 kB / 1.087 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4269, allocations: 0 / 1.087 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.4281, allocations: 1.417 MB / 1.089 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.4281, allocations: 4.031 kB / 1.089 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.4289, allocations: 0.5331 MB / 1.089 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.429, allocations: 124.8 kB / 1.089 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.4291, allocations: 11.94 kB / 1.089 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.4294, allocations: 27.97 kB / 1.089 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.4294, allocations: 23.97 kB / 1.089 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4295, allocations: 7.938 kB / 1.089 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002195/0.4297, allocations: 163 kB / 1.089 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4297, allocations: 0 / 1.089 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008129/0.4305, allocations: 112 kB / 1.089 GB, free: 3.266 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002353/0.4308, allocations: 107.2 kB / 1.09 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.4325, allocations: 0.7434 MB / 1.09 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4325, allocations: 1 kB / 1.09 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.4329, allocations: 270.8 kB / 1.091 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.4335, allocations: 31.98 kB / 1.091 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4348, allocations: 0.6491 MB / 1.091 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.4353, allocations: 0.7717 MB / 1.092 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.4356, allocations: 93.94 kB / 1.092 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.4357, allocations: 27.36 kB / 1.092 GB, free: 472 kB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.4357, allocations: 0 / 1.092 GB, free: 472 kB / 0.8419 GB Notification: Performance of Templates: time 0.007839/0.4436, allocations: 3.239 MB / 1.095 GB, free: 13.23 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)