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.001429/0.001429, allocations: 107.4 kB / 16.52 MB, free: 6.656 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.001403/0.001403, allocations: 198 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.677/0.677, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 76.17 MB / 0.5564 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003771/0.3228, allocations: 3.061 MB / 0.5594 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.325, allocations: 1.75 MB / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3251, allocations: 3.719 kB / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.3257, allocations: 214.7 kB / 0.5613 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3261, allocations: 180.9 kB / 0.5615 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.3266, allocations: 229.1 kB / 0.5617 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.327, allocations: 0.4982 MB / 0.5622 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.3274, allocations: 215.5 kB / 0.5624 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3276, allocations: 130.8 kB / 0.5625 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.3279, allocations: 187.2 kB / 0.5627 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.3279, allocations: 16.78 kB / 0.5627 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.3284, allocations: 313.4 kB / 0.563 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3285, allocations: 94.22 kB / 0.5631 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3286, allocations: 125.9 kB / 0.5632 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.329, allocations: 363.9 kB / 0.5635 GB, free: 31.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.329, allocations: 9.031 kB / 0.5636 GB, free: 31.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3291, allocations: 1.125 kB / 0.5636 GB, free: 31.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3291, allocations: 0 / 0.5636 GB, free: 31.28 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.00119/0.3303, allocations: 0.6375 MB / 0.5642 GB, free: 30.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3303, allocations: 13.03 kB / 0.5642 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.3311, allocations: 94.97 kB / 0.5643 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3314, allocations: 282.7 kB / 0.5646 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3314, allocations: 13.56 kB / 0.5646 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.3315, allocations: 22.2 kB / 0.5646 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007787/0.3323, allocations: 423 kB / 0.565 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3323, allocations: 0 / 0.565 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.3323, allocations: 7.438 kB / 0.565 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.3324, allocations: 29.94 kB / 0.565 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.3333, allocations: 383.2 kB / 0.5654 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.3348, allocations: 1.611 MB / 0.567 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3359, allocations: 464.4 kB / 0.5674 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.3364, allocations: 186.4 kB / 0.5676 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.3365, allocations: 95.12 kB / 0.5677 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.337, allocations: 264.9 kB / 0.5679 GB, free: 28.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.3371, allocations: 1.219 kB / 0.5679 GB, free: 28.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001888/0.339, allocations: 0.7405 MB / 0.5687 GB, free: 28.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.339, allocations: 82.06 kB / 0.5687 GB, free: 27.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.3392, allocations: 227.8 kB / 0.5689 GB, free: 27.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3393, allocations: 31.81 kB / 0.569 GB, free: 27.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.3393, allocations: 163.5 kB / 0.5691 GB, free: 27.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.3394, allocations: 96.72 kB / 0.5692 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3395, allocations: 66.86 kB / 0.5693 GB, free: 27.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.3396, allocations: 333.1 kB / 0.5696 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.34, allocations: 182.2 kB / 0.5698 GB, free: 27.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.3405, allocations: 237.3 kB / 0.57 GB, free: 27.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.3413, allocations: 461.7 kB / 0.5705 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3413, allocations: 1.219 kB / 0.5705 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001089/0.3424, allocations: 0.5303 MB / 0.571 GB, free: 26.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.3424, allocations: 32.97 kB / 0.571 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3424, allocations: 5.531 kB / 0.571 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.3427, allocations: 42.59 kB / 0.571 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.3431, allocations: 85.33 kB / 0.5711 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.3442, allocations: 1.503 MB / 0.5726 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.3446, allocations: 51.84 kB / 0.5726 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3446, allocations: 15.56 kB / 0.5727 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004826/0.3451, allocations: 276.6 kB / 0.5729 GB, free: 24.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004049/0.3455, allocations: 233.7 kB / 0.5731 GB, free: 24.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007546/0.3463, allocations: 433.2 kB / 0.5736 GB, free: 24.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.3463, allocations: 1.5 kB / 0.5736 GB, free: 24.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001044/0.3473, allocations: 0.5084 MB / 0.5741 GB, free: 24.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3474, allocations: 33.66 kB / 0.5741 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3474, allocations: 7.234 kB / 0.5741 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3475, allocations: 42.02 kB / 0.5741 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.3479, allocations: 84.66 kB / 0.5742 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009833/0.3489, allocations: 1.487 MB / 0.5757 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.3492, allocations: 45.81 kB / 0.5757 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3492, allocations: 15.08 kB / 0.5757 GB, free: 22.86 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.0001285/0.3494, allocations: 199.8 kB / 0.5759 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.3494, allocations: 24.75 kB / 0.5759 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.3504, allocations: 479.2 kB / 0.5764 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.3504, allocations: 2.75 kB / 0.5764 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3505, allocations: 1.375 kB / 0.5764 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3505, allocations: 6.719 kB / 0.5764 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.351, allocations: 0.5637 MB / 0.577 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.351, allocations: 1.375 kB / 0.577 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.3514, allocations: 73.45 kB / 0.577 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.3515, allocations: 39.91 kB / 0.5771 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.3515, allocations: 10.92 kB / 0.5771 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.3523, allocations: 1.417 MB / 0.5785 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3524, allocations: 1.375 kB / 0.5785 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.3533, allocations: 0.5453 MB / 0.579 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3534, allocations: 131.4 kB / 0.5791 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.3534, allocations: 12.72 kB / 0.5791 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3537, allocations: 37.83 kB / 0.5792 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3538, allocations: 36.5 kB / 0.5792 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3539, allocations: 7.312 kB / 0.5792 GB, free: 20.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.354, allocations: 174 kB / 0.5794 GB, free: 20.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.354, allocations: 0 / 0.5794 GB, free: 20.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006122/0.3546, allocations: 134.3 kB / 0.5795 GB, free: 20.09 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.0001324/0.3548, allocations: 117.3 kB / 0.5796 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.3565, allocations: 0.9783 MB / 0.5806 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3565, allocations: 0 / 0.5806 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.357, allocations: 320.3 kB / 0.5809 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3575, allocations: 46.55 kB / 0.5809 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3585, allocations: 0.756 MB / 0.5817 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3588, allocations: 0.7901 MB / 0.5824 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3589, allocations: 27.19 kB / 0.5825 GB, free: 18.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3589, allocations: 1.031 kB / 0.5825 GB, free: 18.04 MB / 446.1 MB Notification: Performance of Templates: time 0.007343/0.3662, allocations: 5.112 MB / 0.5875 GB, free: 16.53 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)