Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.001663/0.001663, allocations: 195 kB / 17.98 MB, free: 5.02 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7267/0.7267, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3557, allocations: 76.14 MB / 0.5576 GB, free: 36.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004257/0.36, allocations: 3.013 MB / 0.5605 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3627, allocations: 1.747 MB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3629, allocations: 4.344 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.3637, allocations: 234.5 kB / 0.5625 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.3641, allocations: 201.1 kB / 0.5626 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.3648, allocations: 249 kB / 0.5629 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.3652, allocations: 392 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3656, allocations: 212.5 kB / 0.5635 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.3659, allocations: 163 kB / 0.5636 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.3662, allocations: 181.1 kB / 0.5638 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.3663, allocations: 25.59 kB / 0.5638 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.3667, allocations: 256.9 kB / 0.5641 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3669, allocations: 100.7 kB / 0.5641 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.367, allocations: 142.9 kB / 0.5643 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.3677, allocations: 475.5 kB / 0.5647 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3677, allocations: 1.969 kB / 0.5647 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3677, allocations: 0 / 0.5647 GB, free: 32.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3677, allocations: 1.094 kB / 0.5647 GB, free: 32.54 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.001219/0.3689, allocations: 0.6305 MB / 0.5654 GB, free: 32.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.369, allocations: 10.31 kB / 0.5654 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.3699, allocations: 93.83 kB / 0.5655 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.3703, allocations: 295.3 kB / 0.5657 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.3703, allocations: 18 kB / 0.5658 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.3704, allocations: 20.03 kB / 0.5658 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3715, allocations: 416.9 kB / 0.5662 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.3715, allocations: 0.5156 kB / 0.5662 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.3716, allocations: 14.89 kB / 0.5662 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/0.3717, allocations: 23.02 kB / 0.5662 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3729, allocations: 391.1 kB / 0.5666 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.3751, allocations: 1.601 MB / 0.5681 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.3767, allocations: 465.2 kB / 0.5686 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.3773, allocations: 195.2 kB / 0.5688 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.3775, allocations: 88.11 kB / 0.5689 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.3783, allocations: 267.6 kB / 0.5691 GB, free: 29.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.374e-06/0.3783, allocations: 1.094 kB / 0.5691 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002429/0.3807, allocations: 0.7463 MB / 0.5698 GB, free: 29.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.3808, allocations: 82.33 kB / 0.5699 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.3811, allocations: 226.8 kB / 0.5701 GB, free: 29.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3811, allocations: 31.61 kB / 0.5702 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3812, allocations: 165.4 kB / 0.5703 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.3813, allocations: 87.59 kB / 0.5704 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3815, allocations: 67.55 kB / 0.5705 GB, free: 28.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.3816, allocations: 336.3 kB / 0.5708 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.3822, allocations: 178.4 kB / 0.571 GB, free: 28.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.3828, allocations: 250.4 kB / 0.5712 GB, free: 28.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.384, allocations: 457.9 kB / 0.5716 GB, free: 28.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.384, allocations: 1.656 kB / 0.5716 GB, free: 28.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001569/0.3856, allocations: 0.538 MB / 0.5722 GB, free: 27.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.3857, allocations: 35.08 kB / 0.5722 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3857, allocations: 3 kB / 0.5722 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.386, allocations: 44.92 kB / 0.5722 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.3866, allocations: 84.58 kB / 0.5723 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.3882, allocations: 1.613 MB / 0.5739 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.3887, allocations: 46.33 kB / 0.5739 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.3888, allocations: 12.27 kB / 0.574 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006554/0.3895, allocations: 278 kB / 0.5742 GB, free: 26.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005413/0.39, allocations: 241.3 kB / 0.5745 GB, free: 25.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001074/0.3911, allocations: 430.2 kB / 0.5749 GB, free: 25.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.3911, allocations: 0 / 0.5749 GB, free: 25.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001566/0.3927, allocations: 0.5159 MB / 0.5754 GB, free: 25.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.3928, allocations: 34.44 kB / 0.5754 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3928, allocations: 3.281 kB / 0.5754 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.393, allocations: 40.14 kB / 0.5754 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.3935, allocations: 85.8 kB / 0.5755 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.395, allocations: 1.614 MB / 0.5771 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.3953, allocations: 46.66 kB / 0.5771 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3954, allocations: 14.34 kB / 0.5772 GB, free: 23.88 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.000177/0.3956, allocations: 207.2 kB / 0.5774 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.3956, allocations: 25.42 kB / 0.5774 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.3967, allocations: 461.8 kB / 0.5778 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3967, allocations: 6.844 kB / 0.5778 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3967, allocations: 1.828 kB / 0.5778 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3967, allocations: 3.234 kB / 0.5778 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.3974, allocations: 0.5721 MB / 0.5784 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3974, allocations: 0 / 0.5784 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.3978, allocations: 74.36 kB / 0.5785 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/0.398, allocations: 41.7 kB / 0.5785 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.398, allocations: 3.531 kB / 0.5785 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.3991, allocations: 1.524 MB / 0.58 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3992, allocations: 1.438 kB / 0.58 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.4006, allocations: 0.5417 MB / 0.5805 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.4008, allocations: 132.3 kB / 0.5807 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.4009, allocations: 7.844 kB / 0.5807 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.4014, allocations: 34.2 kB / 0.5807 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4015, allocations: 27.09 kB / 0.5807 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.4016, allocations: 15.55 kB / 0.5807 GB, free: 21.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.4018, allocations: 170.9 kB / 0.5809 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4018, allocations: 0 / 0.5809 GB, free: 21.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009629/0.4028, allocations: 132.8 kB / 0.581 GB, free: 21.03 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.0001714/0.4029, allocations: 113.6 kB / 0.5811 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.4054, allocations: 0.9815 MB / 0.5821 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4055, allocations: 0 / 0.5821 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.4062, allocations: 322.3 kB / 0.5824 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.4068, allocations: 55.89 kB / 0.5824 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4083, allocations: 0.6059 MB / 0.583 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4087, allocations: 0.7855 MB / 0.5838 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.4091, allocations: 98.52 kB / 0.5839 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.4093, allocations: 34.2 kB / 0.5839 GB, free: 19.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4093, allocations: 3.938 kB / 0.5839 GB, free: 19.1 MB / 446.1 MB Notification: Performance of Templates: time 0.01271/0.422, allocations: 4.498 MB / 0.5883 GB, free: 17.67 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)