Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002205/0.0002205, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0001871/0.0001871, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1067/0.1067, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.009835/0.009835, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,startTime=0,stopTime=30,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,startTime=0,stopTime=30,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.423e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006672/0.006696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004206/0.0109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.01135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007794/0.01278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.01391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009837/0.0149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0008187/0.01571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008488/0.01656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.01693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.01741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.01762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.01783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0009299/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.505e-05/0.01884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.846e-06/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.526e-06/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001298/0.02015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.879e-05/0.02024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/0.02082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.02154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.02163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.02174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.0225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.02252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.02259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.02264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.02302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.02565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.02615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.02627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.02631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.02634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=49): time 8.236e-06/0.02635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=49): time 0.0004451/0.0268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.02683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.02715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.02722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.0274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.02752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.452e-05/0.0277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.0278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.02797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.02827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.02828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007526/0.02903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.02905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.02906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.02938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.02983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.03136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.03162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.03167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002188/0.03189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001434/0.03203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003437/0.03238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.03238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.000562/0.03294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.03297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.03298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.03321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.03364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.03478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.03501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.03505, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.hotwellLevel.local_reset,powerPlant.throttleCosts.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.03526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.03534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.03581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.03582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.03583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.03689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.0369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.03731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.03732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.03735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.03736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.03736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.03784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.03804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.03821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.03842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.03854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.03858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001526/0.03874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.406e-05/0.03875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001043/0.03979, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000267/0.04006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0008238/0.04088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.0409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.04106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.04184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.04363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.04378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002523/0.04403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.04434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.907e-05/0.04437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002633/0.047, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7197591532021761]