Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008384/0.0008384, allocations: 79.36 kB / 20.47 MB, free: 4.105 MB / 18.57 MB " [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.0009274/0.0009274, allocations: 173 kB / 23.84 MB, free: 0.7305 MB / 18.57 MB " [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.9434/0.9434, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02216/0.02216, allocations: 4.484 MB / 265.2 MB, free: 8.555 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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: translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 336.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.996e-05, allocations: 4.984 kB / 336.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.007207/0.007227, allocations: 13.35 MB / 349.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.01326, allocations: 3.953 MB / 353.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.01434, allocations: 48 kB / 353.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.01531, allocations: 0.6978 MB / 354.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.01767, allocations: 1.599 MB / 356.2 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.02027, allocations: 2.04 MB / 358.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.02344, allocations: 3.672 MB / 361.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000836/0.02428, allocations: 0.7672 MB / 362.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.02599, allocations: 2.12 MB / 364.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.02716, allocations: 1.449 MB / 366.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.02746, allocations: 300 kB / 366.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008517/0.02831, allocations: 0.5503 MB / 367.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.0287, allocations: 0.7626 MB / 367.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.02946, allocations: 1.157 MB / 369 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.03169, allocations: 2.849 MB / 371.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.0317, allocations: 0 / 371.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.0317, allocations: 0 / 371.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.03173, allocations: 4 kB / 371.9 MB, free: 9.703 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.01764/0.04937, allocations: 8.388 MB / 380.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.04942, allocations: 12.03 kB / 380.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.05025, allocations: 0.573 MB / 380.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.05216, allocations: 1.447 MB / 382.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.05255, allocations: 0.7503 MB / 383 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.0529, allocations: 316.4 kB / 383.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.057, allocations: 3.503 MB / 386.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.05704, allocations: 4.016 kB / 386.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.05726, allocations: 112.4 kB / 387 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.0573, allocations: 60.12 kB / 387 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.06011, allocations: 1.636 MB / 388.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.07045, allocations: 7.457 MB / 396.1 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.07409, allocations: 3.787 MB / 399.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.07581, allocations: 1.375 MB / 401.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.07609, allocations: 95.36 kB / 401.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002758/0.07885, allocations: 2.901 MB / 404.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=453): time 5.841e-06/0.07885, allocations: 0 / 404.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=453): time 0.007898/0.08675, allocations: 5.104 MB / 409.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.08683, allocations: 176.1 kB / 409.5 MB, free: 3.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.08818, allocations: 1.412 MB / 411 MB, free: 1.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005845/0.08877, allocations: 141.7 kB / 411.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.08925, allocations: 0.8895 MB / 412 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1705/0.2598, allocations: 1.513 MB / 413.5 MB, free: 59.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/0.2613, allocations: 0.8112 MB / 414.3 MB, free: 59.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.2613, allocations: 477.4 kB / 414.8 MB, free: 59.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.2634, allocations: 1.333 MB / 416.1 MB, free: 59.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.2655, allocations: 1.785 MB / 417.9 MB, free: 59.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004707/0.2702, allocations: 3.232 MB / 421.1 MB, free: 58.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.2703, allocations: 0 / 421.1 MB, free: 58.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.00718/0.2774, allocations: 5.13 MB / 426.3 MB, free: 58.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.2775, allocations: 9 kB / 426.3 MB, free: 58.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.2775, allocations: 4.594 kB / 426.3 MB, free: 58.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/0.2984, allocations: 16.58 MB / 442.8 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.3002, allocations: 0.5445 MB / 443.4 MB, free: 45.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/0.3087, allocations: 4.11 MB / 447.5 MB, free: 42.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.311, allocations: 397.2 kB / 447.9 MB, free: 42.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.3113, allocations: 156.3 kB / 448 MB, free: 42.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 60 (b61106.degradedMode,$PRE.b61106.degradedMode,b87656.degradedMode,$PRE.b87656.degradedMode,b56131.degradedMode,$PRE.b56131.degradedMode,b61275.degradedMode,$PRE.b61275.degradedMode,b61273.degradedMode,$PRE.b61273.degradedMode,b61274.degradedMode,$PRE.b61274.degradedMode,b61089.degradedMode,$PRE.b61089.degradedMode,b61227.degradedMode,$PRE.b61227.degradedMode,b11403.degradedMode,$PRE.b11403.degradedMode,b11407.degradedMode,$PRE.b11407.degradedMode,b61254.degradedMode,$PRE.b61254.degradedMode,b61260.degradedMode,$PRE.b61260.degradedMode,b11465.degradedMode,$PRE.b11465.degradedMode,b87694.degradedMode,$PRE.b87694.degradedMode,b61121.degradedMode,$PRE.b61121.degradedMode,b61232.degradedMode,$PRE.b61232.degradedMode,b11480.degradedMode,$PRE.b11480.degradedMode,b61256.degradedMode,$PRE.b61256.degradedMode,b11458.degradedMode,$PRE.b11458.degradedMode,b61280.degradedMode,$PRE.b61280.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 374 * 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 {(79,137)} Notification: Performance of prepare postOptimizeDAE: time 0.0008555/0.3122, allocations: 392.4 kB / 448.4 MB, free: 41.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/0.3129, allocations: 450.1 kB / 448.9 MB, free: 41.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007231/0.3201, allocations: 4.767 MB / 453.6 MB, free: 37.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.3201, allocations: 48 kB / 453.7 MB, free: 37.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3201, allocations: 0 / 453.7 MB, free: 37.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/0.3202, allocations: 23.91 kB / 453.7 MB, free: 37.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.3315, allocations: 7.707 MB / 461.4 MB, free: 29.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.3315, allocations: 2.25 kB / 461.4 MB, free: 29.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.3324, allocations: 411.6 kB / 461.8 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02053/0.353, allocations: 9.06 MB / 470.9 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003617/0.3533, allocations: 95.98 kB / 471 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/0.3593, allocations: 4.265 MB / 475.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3593, allocations: 7.359 kB / 475.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/0.3654, allocations: 4.889 MB / 480.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.3664, allocations: 0.8939 MB / 481 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.3667, allocations: 88 kB / 481.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.368, allocations: 202.5 kB / 481.3 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/0.3684, allocations: 331.3 kB / 481.6 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.3686, allocations: 156 kB / 481.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005317/0.3691, allocations: 0.7883 MB / 482.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 482.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001228/0.3703, allocations: 1.043 MB / 483.6 MB, free: 7.605 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61089.degradedMode,b11407.degradedMode,b11403.degradedMode,b61275.degradedMode,b61273.degradedMode,b61254.degradedMode,b61274.degradedMode,b61260.degradedMode,b11465.degradedMode,b61227.degradedMode,b87656.degradedMode,b56131.degradedMode,b61256.degradedMode,b11480.degradedMode,b87694.degradedMode,b61232.degradedMode,b11458.degradedMode,b61121.degradedMode,b61280.degradedMode,b61106.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 269 * 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 {(80,156)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000406/0.3707, allocations: 283.6 kB / 483.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007113/0.3778, allocations: 4.675 MB / 488.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.3779, allocations: 11 kB / 488.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004923/0.3828, allocations: 2.974 MB / 491.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.3843, allocations: 435 kB / 492 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.3911, allocations: 5.335 MB / 497.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3914, allocations: 0.4954 MB / 497.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006758/0.3921, allocations: 337.2 kB / 498.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.3925, allocations: 212.4 kB / 498.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of SimCode: time 1.674e-06/0.3925, allocations: 0 / 498.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of Templates: time 0.06615/0.4586, allocations: 65.15 MB / 0.5503 GB, free: 8.398 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.757907900027931]