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.001718/0.001718, allocations: 104.8 kB / 16.52 MB, free: 6.664 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.001803/0.001804, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 493.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3547, allocations: 76.17 MB / 0.5564 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004304/0.359, allocations: 3.574 MB / 0.5599 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3613, allocations: 1.754 MB / 0.5616 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3615, allocations: 2.594 kB / 0.5616 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.3623, allocations: 218.1 kB / 0.5618 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.3627, allocations: 191.7 kB / 0.562 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.3634, allocations: 228.1 kB / 0.5622 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.3639, allocations: 0.493 MB / 0.5627 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.3644, allocations: 206.2 kB / 0.5629 GB, free: 32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3646, allocations: 141.6 kB / 0.563 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3649, allocations: 186.1 kB / 0.5632 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.365, allocations: 16.69 kB / 0.5632 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.3655, allocations: 308.8 kB / 0.5635 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3656, allocations: 92.56 kB / 0.5636 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3657, allocations: 127.1 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.3662, allocations: 359.3 kB / 0.5641 GB, free: 31.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3662, allocations: 0 / 0.5641 GB, free: 31.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3662, allocations: 1.344 kB / 0.5641 GB, free: 31.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3662, allocations: 0.5 kB / 0.5641 GB, free: 31.56 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.001182/0.3674, allocations: 0.6423 MB / 0.5647 GB, free: 31.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3675, allocations: 10.19 kB / 0.5647 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.3682, allocations: 94.98 kB / 0.5648 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3685, allocations: 281.8 kB / 0.5651 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3685, allocations: 14.16 kB / 0.5651 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.3686, allocations: 19.25 kB / 0.5651 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.3694, allocations: 420.9 kB / 0.5655 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3694, allocations: 3.953 kB / 0.5655 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.3694, allocations: 15.3 kB / 0.5655 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.3695, allocations: 25.61 kB / 0.5655 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.3704, allocations: 387.9 kB / 0.5659 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3719, allocations: 1.614 MB / 0.5675 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.373, allocations: 464.7 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.3734, allocations: 193.7 kB / 0.5681 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.3736, allocations: 91.95 kB / 0.5682 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.3741, allocations: 259.4 kB / 0.5684 GB, free: 28.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.734e-06/0.3741, allocations: 0.7188 kB / 0.5684 GB, free: 28.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001813/0.376, allocations: 0.7452 MB / 0.5692 GB, free: 28.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.376, allocations: 90.27 kB / 0.5693 GB, free: 28.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3763, allocations: 227.1 kB / 0.5695 GB, free: 28.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3763, allocations: 31.14 kB / 0.5695 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.3764, allocations: 164.5 kB / 0.5697 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.3765, allocations: 91.77 kB / 0.5697 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3766, allocations: 68.22 kB / 0.5698 GB, free: 27.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.3766, allocations: 332.6 kB / 0.5701 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3771, allocations: 182.5 kB / 0.5703 GB, free: 27.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.3775, allocations: 237.5 kB / 0.5705 GB, free: 27.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.3783, allocations: 453.9 kB / 0.571 GB, free: 27.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3783, allocations: 1.062 kB / 0.571 GB, free: 27.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001065/0.3794, allocations: 0.5391 MB / 0.5715 GB, free: 26.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.3794, allocations: 37.22 kB / 0.5715 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3794, allocations: 2.906 kB / 0.5715 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.3796, allocations: 44.45 kB / 0.5716 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.3801, allocations: 84.39 kB / 0.5716 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3812, allocations: 1.497 MB / 0.5731 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.3815, allocations: 44.06 kB / 0.5732 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3816, allocations: 16.73 kB / 0.5732 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004804/0.3821, allocations: 273.1 kB / 0.5734 GB, free: 25.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003912/0.3825, allocations: 233.5 kB / 0.5737 GB, free: 25.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007172/0.3832, allocations: 438.5 kB / 0.5741 GB, free: 24.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.3832, allocations: 0 / 0.5741 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001001/0.3842, allocations: 0.5076 MB / 0.5746 GB, free: 24.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3842, allocations: 33.23 kB / 0.5746 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3843, allocations: 7.312 kB / 0.5746 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.3844, allocations: 48.73 kB / 0.5746 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3848, allocations: 82.59 kB / 0.5747 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009606/0.3857, allocations: 1.491 MB / 0.5762 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.3861, allocations: 41.8 kB / 0.5762 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3861, allocations: 16.91 kB / 0.5762 GB, free: 23.13 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.0001381/0.3862, allocations: 201.1 kB / 0.5764 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.3863, allocations: 25.28 kB / 0.5765 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3873, allocations: 466.5 kB / 0.5769 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3873, allocations: 2.75 kB / 0.5769 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3873, allocations: 5.375 kB / 0.5769 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.3874, allocations: 7.75 kB / 0.5769 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.388, allocations: 0.564 MB / 0.5775 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.388, allocations: 2.203 kB / 0.5775 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.3883, allocations: 73.89 kB / 0.5775 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.3885, allocations: 41.3 kB / 0.5776 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3885, allocations: 12.39 kB / 0.5776 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008068/0.3893, allocations: 1.41 MB / 0.579 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3893, allocations: 1.875 kB / 0.579 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009708/0.3903, allocations: 0.5448 MB / 0.5795 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3904, allocations: 135.7 kB / 0.5796 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3905, allocations: 8.469 kB / 0.5796 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.3908, allocations: 33.69 kB / 0.5797 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3909, allocations: 32.17 kB / 0.5797 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.391, allocations: 7.328 kB / 0.5797 GB, free: 20.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3911, allocations: 182.3 kB / 0.5799 GB, free: 20.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 1.5 kB / 0.5799 GB, free: 20.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.3917, allocations: 132.7 kB / 0.58 GB, free: 20.35 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.0001434/0.3919, allocations: 114.4 kB / 0.5801 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.3936, allocations: 0.9777 MB / 0.5811 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3936, allocations: 4.125 kB / 0.5811 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.3942, allocations: 323.5 kB / 0.5814 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.3947, allocations: 44.03 kB / 0.5814 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3958, allocations: 0.7592 MB / 0.5822 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3961, allocations: 0.7872 MB / 0.5829 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3962, allocations: 27.48 kB / 0.583 GB, free: 18.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3962, allocations: 0 / 0.583 GB, free: 18.3 MB / 446.1 MB Notification: Performance of Templates: time 0.007504/0.4037, allocations: 5.106 MB / 0.588 GB, free: 16.61 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)