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.0009773/0.0009773, allocations: 100.4 kB / 15.05 MB, free: 1.105 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.001111/0.001111, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.687/1.687, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0006278/0.0006281, allocations: 16 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7421, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004435/0.7466, allocations: 3.039 MB / 0.7309 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.7496, allocations: 1.638 MB / 0.7325 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.7498, allocations: 7.938 kB / 0.7326 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.7499, allocations: 31.77 kB / 0.7326 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.7504, allocations: 135.6 kB / 0.7327 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.751, allocations: 190 kB / 0.7329 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.7514, allocations: 219.6 kB / 0.7331 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000785/0.7522, allocations: 390.5 kB / 0.7335 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.7524, allocations: 111.6 kB / 0.7336 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.7527, allocations: 131.5 kB / 0.7337 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.7528, allocations: 16 kB / 0.7337 GB, free: 5.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.7531, allocations: 131.8 kB / 0.7338 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.7532, allocations: 79.73 kB / 0.7339 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.7533, allocations: 65.58 kB / 0.734 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.7537, allocations: 349.1 kB / 0.7343 GB, free: 4.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7537, allocations: 4 kB / 0.7343 GB, free: 4.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7537, allocations: 0 / 0.7343 GB, free: 4.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7537, allocations: 0 / 0.7343 GB, free: 4.898 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.001195/0.7549, allocations: 0.5979 MB / 0.7349 GB, free: 4.242 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.755, allocations: 8.031 kB / 0.7349 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000736/0.7557, allocations: 107.5 kB / 0.735 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.7561, allocations: 278.5 kB / 0.7353 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.7562, allocations: 12.44 kB / 0.7353 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.7562, allocations: 23.98 kB / 0.7353 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.7571, allocations: 422.6 kB / 0.7357 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.7571, allocations: 3.938 kB / 0.7357 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.7571, allocations: 11.98 kB / 0.7357 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.7572, allocations: 28.36 kB / 0.7358 GB, free: 3.297 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.7581, allocations: 412.7 kB / 0.7362 GB, free: 2.895 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.7601, allocations: 1.611 MB / 0.7377 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.7613, allocations: 497.2 kB / 0.7382 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.7615, allocations: 85.09 kB / 0.7383 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/0.7622, allocations: 283.9 kB / 0.7386 GB, free: 264 kB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 3.758e-06/0.7622, allocations: 0 / 0.7386 GB, free: 264 kB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001995/0.7642, allocations: 0.7756 MB / 0.7393 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.7643, allocations: 89.3 kB / 0.7394 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.7645, allocations: 221 kB / 0.7396 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.7646, allocations: 29.7 kB / 0.7396 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.7647, allocations: 168.4 kB / 0.7398 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.7648, allocations: 94.64 kB / 0.7399 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.7648, allocations: 4 kB / 0.7399 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.765, allocations: 342.8 kB / 0.7402 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.7654, allocations: 180.2 kB / 0.7404 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.7659, allocations: 253.3 kB / 0.7406 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.7664, allocations: 239.3 kB / 0.7409 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7664, allocations: 0 / 0.7409 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001127/0.7676, allocations: 0.5558 MB / 0.7414 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004416/0.768, allocations: 0.9101 MB / 0.7423 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.768, allocations: 4 kB / 0.7423 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.7683, allocations: 40.83 kB / 0.7423 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.7688, allocations: 87.86 kB / 0.7424 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.7702, allocations: 1.509 MB / 0.7439 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.7706, allocations: 55.77 kB / 0.7439 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.7706, allocations: 27.88 kB / 0.744 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.7707, allocations: 6.344 kB / 0.744 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/0.7717, allocations: 0.495 MB / 0.7445 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.7717, allocations: 0 / 0.7445 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.7719, allocations: 36.83 kB / 0.7445 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.7722, allocations: 91.86 kB / 0.7446 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.7735, allocations: 1.501 MB / 0.746 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.7738, allocations: 55.89 kB / 0.7461 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.7739, allocations: 12 kB / 0.7461 GB, free: 8.027 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 ($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.0002686/0.7741, allocations: 244.2 kB / 0.7463 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.7742, allocations: 23.72 kB / 0.7464 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.7753, allocations: 0.4892 MB / 0.7468 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7754, allocations: 7.984 kB / 0.7469 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7754, allocations: 0 / 0.7469 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.7754, allocations: 3.953 kB / 0.7469 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.7761, allocations: 0.5623 MB / 0.7474 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7761, allocations: 0 / 0.7474 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.7765, allocations: 83.86 kB / 0.7475 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.7766, allocations: 36.81 kB / 0.7475 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.7766, allocations: 11.95 kB / 0.7475 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.7778, allocations: 1.425 MB / 0.7489 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7778, allocations: 4.031 kB / 0.7489 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.7788, allocations: 0.5978 MB / 0.7495 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.779, allocations: 128.7 kB / 0.7496 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.779, allocations: 8 kB / 0.7496 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.7793, allocations: 43.94 kB / 0.7497 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7794, allocations: 35.91 kB / 0.7497 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.7795, allocations: 12 kB / 0.7497 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001617/0.7796, allocations: 180.4 kB / 0.7499 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7796, allocations: 0 / 0.7499 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006331/0.7803, allocations: 124 kB / 0.75 GB, free: 3.734 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 (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.0002217/0.7805, allocations: 115.2 kB / 0.7501 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.7824, allocations: 1.012 MB / 0.7511 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7824, allocations: 3.938 kB / 0.7511 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006056/0.783, allocations: 342.8 kB / 0.7515 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.7834, allocations: 38.47 kB / 0.7515 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.7846, allocations: 0.7366 MB / 0.7522 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.785, allocations: 0.7955 MB / 0.753 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002945/0.7854, allocations: 98.38 kB / 0.7531 GB, free: 488 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.7855, allocations: 27.42 kB / 0.7531 GB, free: 460 kB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.7855, allocations: 0 / 0.7531 GB, free: 460 kB / 0.5606 GB Notification: Performance of Templates: time 0.008372/0.7938, allocations: 4.031 MB / 0.757 GB, free: 12.46 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: