Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001419/0.00142, allocations: 115.3 kB / 17.03 MB, free: 5.703 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.001535/0.001535, allocations: 195 kB / 17.97 MB, free: 5.113 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.441/1.441, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7524/0.7524, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3652, allocations: 76.15 MB / 0.5576 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004629/0.3699, allocations: 3.525 MB / 0.561 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3724, allocations: 1.737 MB / 0.5627 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3726, allocations: 3.781 kB / 0.5627 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.3734, allocations: 234.4 kB / 0.5629 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.3738, allocations: 205.7 kB / 0.5631 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.3745, allocations: 247.7 kB / 0.5634 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.3749, allocations: 396.9 kB / 0.5638 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.3753, allocations: 205.6 kB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3755, allocations: 156.6 kB / 0.5641 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.3759, allocations: 187.3 kB / 0.5643 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.3759, allocations: 26.72 kB / 0.5643 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.3764, allocations: 258.4 kB / 0.5646 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.3765, allocations: 99.38 kB / 0.5646 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3766, allocations: 141.4 kB / 0.5648 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.3772, allocations: 472 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3772, allocations: 5.391 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3772, allocations: 5.062 kB / 0.5652 GB, free: 32.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.3773, allocations: 1.469 kB / 0.5652 GB, free: 32.13 MB / 446.1 MB 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.001081/0.3783, allocations: 0.6324 MB / 0.5659 GB, free: 31.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3784, allocations: 11.67 kB / 0.5659 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006869/0.3791, allocations: 94.81 kB / 0.566 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.3794, allocations: 286.3 kB / 0.5662 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3795, allocations: 20.56 kB / 0.5663 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.3795, allocations: 23.44 kB / 0.5663 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.3803, allocations: 411 kB / 0.5667 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3803, allocations: 5.344 kB / 0.5667 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.3804, allocations: 5.5 kB / 0.5667 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.3804, allocations: 30.48 kB / 0.5667 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.3813, allocations: 391.8 kB / 0.5671 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3829, allocations: 1.618 MB / 0.5687 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.384, allocations: 459.1 kB / 0.5691 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.3844, allocations: 196.5 kB / 0.5693 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.3845, allocations: 88.23 kB / 0.5694 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.3851, allocations: 261.6 kB / 0.5696 GB, free: 29.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.3851, allocations: 0 / 0.5696 GB, free: 29.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001798/0.3869, allocations: 0.7397 MB / 0.5703 GB, free: 28.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3869, allocations: 86.62 kB / 0.5704 GB, free: 28.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3872, allocations: 223 kB / 0.5706 GB, free: 28.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3872, allocations: 36.98 kB / 0.5707 GB, free: 28.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.3873, allocations: 166.5 kB / 0.5708 GB, free: 28.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.3874, allocations: 87.61 kB / 0.5709 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3875, allocations: 70.25 kB / 0.571 GB, free: 28.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.3876, allocations: 336.1 kB / 0.5713 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.388, allocations: 175.4 kB / 0.5715 GB, free: 27.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.3885, allocations: 247.4 kB / 0.5717 GB, free: 27.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.3893, allocations: 458.4 kB / 0.5721 GB, free: 27.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3893, allocations: 5 kB / 0.5722 GB, free: 27.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001129/0.3905, allocations: 0.5303 MB / 0.5727 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.3905, allocations: 33.64 kB / 0.5727 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3905, allocations: 2.156 kB / 0.5727 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.3908, allocations: 45.64 kB / 0.5727 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.3912, allocations: 84.62 kB / 0.5728 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3923, allocations: 1.61 MB / 0.5744 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.3927, allocations: 51.66 kB / 0.5744 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3927, allocations: 12.83 kB / 0.5745 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004216/0.3931, allocations: 273.2 kB / 0.5747 GB, free: 25.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003741/0.3935, allocations: 245 kB / 0.575 GB, free: 25.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007173/0.3943, allocations: 432.3 kB / 0.5754 GB, free: 25.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.3943, allocations: 4.578 kB / 0.5754 GB, free: 25.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001032/0.3953, allocations: 0.5105 MB / 0.5759 GB, free: 25.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3953, allocations: 42.58 kB / 0.5759 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3953, allocations: 6.859 kB / 0.5759 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.3955, allocations: 39.58 kB / 0.576 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.3958, allocations: 80.41 kB / 0.576 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.3969, allocations: 1.607 MB / 0.5776 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3972, allocations: 43.58 kB / 0.5776 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.3972, allocations: 15.88 kB / 0.5777 GB, free: 23.47 MB / 446.1 MB 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.0001383/0.3974, allocations: 206.8 kB / 0.5779 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.3974, allocations: 24.95 kB / 0.5779 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3985, allocations: 466.7 kB / 0.5783 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3985, allocations: 4.25 kB / 0.5783 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3985, allocations: 2.625 kB / 0.5783 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3985, allocations: 1.406 kB / 0.5783 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/0.3992, allocations: 0.5736 MB / 0.5789 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3992, allocations: 1.25 kB / 0.5789 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.3996, allocations: 69.05 kB / 0.579 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.3997, allocations: 43.64 kB / 0.579 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.3997, allocations: 7.719 kB / 0.579 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008711/0.4006, allocations: 1.522 MB / 0.5805 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4006, allocations: 9.219 kB / 0.5805 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.4016, allocations: 0.5498 MB / 0.581 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4017, allocations: 127.8 kB / 0.5812 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.4018, allocations: 8.156 kB / 0.5812 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.402, allocations: 34.36 kB / 0.5812 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4022, allocations: 32.66 kB / 0.5812 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.4022, allocations: 6.141 kB / 0.5812 GB, free: 20.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.4024, allocations: 178.6 kB / 0.5814 GB, free: 20.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4024, allocations: 0 / 0.5814 GB, free: 20.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006423/0.403, allocations: 129.2 kB / 0.5815 GB, free: 20.6 MB / 446.1 MB 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.0001491/0.4032, allocations: 114 kB / 0.5816 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.405, allocations: 0.9757 MB / 0.5826 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.405, allocations: 3.938 kB / 0.5826 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.4055, allocations: 321.9 kB / 0.5829 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.406, allocations: 49.86 kB / 0.583 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.4072, allocations: 0.6105 MB / 0.5835 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.4074, allocations: 0.7869 MB / 0.5843 GB, free: 18.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002984/0.4077, allocations: 98.23 kB / 0.5844 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.4078, allocations: 29.23 kB / 0.5844 GB, free: 18.69 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4078, allocations: 0 / 0.5844 GB, free: 18.69 MB / 446.1 MB Notification: Performance of Templates: time 0.008836/0.4167, allocations: 4.508 MB / 0.5888 GB, free: 17.18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)