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.0009221/0.0009222, allocations: 96.27 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.494/1.494, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003702, allocations: 11.98 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 77.15 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003412/0.1964, allocations: 2.537 MB / 0.5593 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1989, allocations: 1.594 MB / 0.5609 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.199, allocations: 3.938 kB / 0.5609 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1992, allocations: 31.77 kB / 0.5609 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1995, allocations: 135.6 kB / 0.561 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.2, allocations: 187.5 kB / 0.5612 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.2003, allocations: 219.6 kB / 0.5614 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.201, allocations: 382.5 kB / 0.5618 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2012, allocations: 115.6 kB / 0.5619 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2015, allocations: 139.5 kB / 0.562 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.2015, allocations: 12 kB / 0.5621 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.2018, allocations: 135.7 kB / 0.5622 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.2018, allocations: 75.8 kB / 0.5623 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.2019, allocations: 65.58 kB / 0.5623 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.2023, allocations: 351.4 kB / 0.5627 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2023, allocations: 0 / 0.5627 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2023, allocations: 0 / 0.5627 GB, free: 5.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2023, allocations: 0 / 0.5627 GB, free: 5.641 MB / 430.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.001131/0.2035, allocations: 0.5979 MB / 0.5632 GB, free: 4.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2035, allocations: 12.02 kB / 0.5633 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.2043, allocations: 99.62 kB / 0.5633 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.2047, allocations: 283.1 kB / 0.5636 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2047, allocations: 12.44 kB / 0.5636 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.2048, allocations: 27.98 kB / 0.5637 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.2056, allocations: 422.5 kB / 0.5641 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2056, allocations: 3.953 kB / 0.5641 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.2057, allocations: 8 kB / 0.5641 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.2057, allocations: 24.36 kB / 0.5641 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.2066, allocations: 416.7 kB / 0.5645 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2087, allocations: 1.619 MB / 0.5661 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.2098, allocations: 485.2 kB / 0.5665 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.21, allocations: 93.08 kB / 0.5666 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.2106, allocations: 280.1 kB / 0.5669 GB, free: 1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.2106, allocations: 0 / 0.5669 GB, free: 1 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001924/0.2125, allocations: 0.775 MB / 0.5676 GB, free: 204 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.2126, allocations: 89.06 kB / 0.5677 GB, free: 96 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.2129, allocations: 217 kB / 0.5679 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.213, allocations: 37.7 kB / 0.568 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.2131, allocations: 172.2 kB / 0.5681 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.2132, allocations: 90.73 kB / 0.5682 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.2132, allocations: 8 kB / 0.5682 GB, free: 15.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2134, allocations: 334.8 kB / 0.5686 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.2138, allocations: 184.1 kB / 0.5687 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.2143, allocations: 250 kB / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.2148, allocations: 229.8 kB / 0.5692 GB, free: 14.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2148, allocations: 4 kB / 0.5692 GB, free: 14.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001172/0.2159, allocations: 0.5559 MB / 0.5697 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/0.2164, allocations: 0.8991 MB / 0.5706 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2164, allocations: 4 kB / 0.5706 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.2166, allocations: 56.73 kB / 0.5707 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.2171, allocations: 87.86 kB / 0.5708 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.2188, allocations: 1.512 MB / 0.5722 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.2192, allocations: 51.8 kB / 0.5723 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.2192, allocations: 15.98 kB / 0.5723 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2193, allocations: 8.062 kB / 0.5723 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001093/0.2204, allocations: 0.4958 MB / 0.5728 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2204, allocations: 4 kB / 0.5728 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.2205, allocations: 41.02 kB / 0.5728 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.221, allocations: 91.86 kB / 0.5729 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.2224, allocations: 1.497 MB / 0.5744 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.2228, allocations: 55.69 kB / 0.5744 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.2229, allocations: 16 kB / 0.5744 GB, free: 8.773 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 ($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.0003683/0.2233, allocations: 240.5 kB / 0.5747 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.2233, allocations: 23.72 kB / 0.5747 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.2246, allocations: 498.1 kB / 0.5752 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2246, allocations: 7.984 kB / 0.5752 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2246, allocations: 0 / 0.5752 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2246, allocations: 0 / 0.5752 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2257, allocations: 0.5623 MB / 0.5757 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.2258, allocations: 0 / 0.5757 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.2262, allocations: 87.95 kB / 0.5758 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.2263, allocations: 36.81 kB / 0.5758 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.2264, allocations: 8 kB / 0.5759 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.2284, allocations: 1.436 MB / 0.5773 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2284, allocations: 0 / 0.5773 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2298, allocations: 0.5943 MB / 0.5778 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.23, allocations: 132.7 kB / 0.578 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.23, allocations: 11.95 kB / 0.578 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.2304, allocations: 43.94 kB / 0.578 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2305, allocations: 39.89 kB / 0.5781 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.2305, allocations: 4 kB / 0.5781 GB, free: 4.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.2307, allocations: 172.5 kB / 0.5782 GB, free: 4.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2308, allocations: 0 / 0.5782 GB, free: 4.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.2316, allocations: 128 kB / 0.5783 GB, free: 4.488 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 (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.0003148/0.2319, allocations: 119.9 kB / 0.5785 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.2342, allocations: 1.005 MB / 0.5794 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.2342, allocations: 4.25 kB / 0.5794 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.2348, allocations: 342.4 kB / 0.5798 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2352, allocations: 45.14 kB / 0.5798 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2366, allocations: 0.7396 MB / 0.5805 GB, free: 2.145 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.237, allocations: 0.7878 MB / 0.5813 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002748/0.2372, allocations: 94.2 kB / 0.5814 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.2373, allocations: 31.42 kB / 0.5814 GB, free: 1.207 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.2373, allocations: 0 / 0.5814 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Templates: time 0.3126/0.55, allocations: 4.014 MB / 0.5853 GB, free: 31.3 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)