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.0009969/0.0009969, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.0009919/0.000992, allocations: 192 kB / 17.2 MB, free: 5.598 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7767/0.7767, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4123, allocations: 77.92 MB / 0.5672 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005913/0.4183, allocations: 3.535 MB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.422, allocations: 1.887 MB / 0.5725 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.4222, allocations: 7.625 kB / 0.5725 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.4232, allocations: 229.4 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000595/0.4238, allocations: 222.2 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.4246, allocations: 260 kB / 0.5732 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.4251, allocations: 383.3 kB / 0.5736 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.4256, allocations: 214.2 kB / 0.5738 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.4258, allocations: 160.9 kB / 0.5739 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.4262, allocations: 191.3 kB / 0.5741 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.4263, allocations: 26.72 kB / 0.5741 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.4269, allocations: 283.9 kB / 0.5744 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.427, allocations: 97.86 kB / 0.5745 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.4272, allocations: 146.8 kB / 0.5746 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.4279, allocations: 489.2 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4279, allocations: 1.031 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4279, allocations: 0 / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4279, allocations: 0 / 0.5751 GB, free: 27.78 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.001213/0.4292, allocations: 0.6485 MB / 0.5757 GB, free: 27.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4292, allocations: 10.34 kB / 0.5757 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4302, allocations: 123.1 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.4306, allocations: 281.5 kB / 0.5761 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4306, allocations: 22.05 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.4307, allocations: 19.5 kB / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/0.4315, allocations: 425.7 kB / 0.5766 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4316, allocations: 4.984 kB / 0.5766 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.4316, allocations: 7.406 kB / 0.5766 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.4317, allocations: 26.98 kB / 0.5766 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/0.4327, allocations: 404.1 kB / 0.577 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.4345, allocations: 1.624 MB / 0.5786 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.4358, allocations: 474.1 kB / 0.579 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.4363, allocations: 206.5 kB / 0.5792 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.4364, allocations: 92.16 kB / 0.5793 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006101/0.437, allocations: 269.5 kB / 0.5796 GB, free: 24.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.437, allocations: 1.375 kB / 0.5796 GB, free: 24.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002001/0.4391, allocations: 0.7592 MB / 0.5803 GB, free: 24.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.4391, allocations: 82.8 kB / 0.5804 GB, free: 24.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4393, allocations: 226.8 kB / 0.5806 GB, free: 24.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.4393, allocations: 35.88 kB / 0.5806 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.4394, allocations: 159.2 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.4395, allocations: 101.8 kB / 0.5809 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4396, allocations: 66.31 kB / 0.581 GB, free: 23.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.4397, allocations: 332.5 kB / 0.5813 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.4402, allocations: 188.3 kB / 0.5814 GB, free: 23.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.4406, allocations: 249.2 kB / 0.5817 GB, free: 23.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.4416, allocations: 470.7 kB / 0.5821 GB, free: 22.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4416, allocations: 1.25 kB / 0.5821 GB, free: 22.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001283/0.4429, allocations: 0.5481 MB / 0.5827 GB, free: 22.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.4429, allocations: 32.27 kB / 0.5827 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.443, allocations: 2.594 kB / 0.5827 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.4432, allocations: 46.48 kB / 0.5827 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.4436, allocations: 87.47 kB / 0.5828 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.4448, allocations: 1.613 MB / 0.5844 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.4451, allocations: 45.92 kB / 0.5845 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.4452, allocations: 16.61 kB / 0.5845 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004812/0.4456, allocations: 277.6 kB / 0.5847 GB, free: 20.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000446/0.4461, allocations: 248.1 kB / 0.585 GB, free: 20.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000818/0.4469, allocations: 439.4 kB / 0.5854 GB, free: 20.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.4469, allocations: 1.469 kB / 0.5854 GB, free: 20.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001106/0.4481, allocations: 0.5282 MB / 0.5859 GB, free: 20.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4481, allocations: 38.06 kB / 0.5859 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4481, allocations: 3.281 kB / 0.5859 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.4482, allocations: 41.52 kB / 0.586 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.4486, allocations: 83.73 kB / 0.5861 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/0.4496, allocations: 1.606 MB / 0.5876 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.45, allocations: 48.8 kB / 0.5877 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.45, allocations: 14.73 kB / 0.5877 GB, free: 18.32 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.0001697/0.4502, allocations: 207 kB / 0.5879 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.4502, allocations: 23.81 kB / 0.5879 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.4514, allocations: 480 kB / 0.5884 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4514, allocations: 7.5 kB / 0.5884 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4514, allocations: 5.344 kB / 0.5884 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4514, allocations: 0 / 0.5884 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.452, allocations: 0.5731 MB / 0.5889 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4521, allocations: 0 / 0.5889 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.4524, allocations: 73.67 kB / 0.589 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.4525, allocations: 45.73 kB / 0.5891 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.4526, allocations: 11.36 kB / 0.5891 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008583/0.4534, allocations: 1.521 MB / 0.5906 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4535, allocations: 1.344 kB / 0.5906 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.4544, allocations: 0.5415 MB / 0.5911 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4546, allocations: 130.8 kB / 0.5912 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4546, allocations: 6.812 kB / 0.5912 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.4549, allocations: 42.81 kB / 0.5913 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.455, allocations: 25.22 kB / 0.5913 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.4551, allocations: 15.58 kB / 0.5913 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.4553, allocations: 176.7 kB / 0.5915 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4553, allocations: 0 / 0.5915 GB, free: 15.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.4559, allocations: 130.9 kB / 0.5916 GB, free: 15.04 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.0001634/0.4561, allocations: 120.3 kB / 0.5917 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.458, allocations: 1.016 MB / 0.5927 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.458, allocations: 0.8125 kB / 0.5927 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005849/0.4586, allocations: 327.4 kB / 0.593 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.459, allocations: 54.62 kB / 0.5931 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4603, allocations: 0.6133 MB / 0.5937 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4605, allocations: 0.7881 MB / 0.5944 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.4609, allocations: 106.2 kB / 0.5945 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.461, allocations: 28.31 kB / 0.5946 GB, free: 12.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.461, allocations: 0 / 0.5946 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Templates: time 0.008315/0.4693, allocations: 4.771 MB / 0.5992 GB, free: 8.863 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)