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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.3 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.0009791, allocations: 100.9 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04822/0.04822, allocations: 8.083 MB / 348.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 59.73 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08642, allocations: 51.52 MB / 462.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01256/0.09903, allocations: 14.48 MB / 477.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008677/0.1078, allocations: 3.953 MB / 481 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.1104, allocations: 47.94 kB / 481.1 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.1122, allocations: 0.5595 MB / 481.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.1175, allocations: 1.449 MB / 483.1 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.205/0.3225, allocations: 1.991 MB / 485.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007388/0.3299, allocations: 3.513 MB / 488.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.3316, allocations: 1.022 MB / 489.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.3341, allocations: 1.418 MB / 491 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.3366, allocations: 1.832 MB / 492.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.3371, allocations: 217.3 kB / 493.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3386, allocations: 475.1 kB / 493.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006382/0.3392, allocations: 0.6717 MB / 494.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.3413, allocations: 1.612 MB / 495.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.3458, allocations: 3.515 MB / 499.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3458, allocations: 0 / 499.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3458, allocations: 1.188 kB / 499.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001008/0.3459, allocations: 0 / 499.4 MB, free: 8.629 MB / 314.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.03694/0.3828, allocations: 8.184 MB / 0.4956 GB, free: 5.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3829, allocations: 13.64 kB / 0.4957 GB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3841, allocations: 381.3 kB / 0.496 GB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.3869, allocations: 1.541 MB / 0.4975 GB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.3872, allocations: 0.747 MB / 0.4983 GB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.3876, allocations: 273 kB / 0.4985 GB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.3932, allocations: 3.781 MB / 0.5022 GB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.3932, allocations: 3.938 kB / 0.5022 GB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.3935, allocations: 116 kB / 0.5023 GB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.3936, allocations: 56 kB / 0.5024 GB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005523/0.3991, allocations: 3.586 MB / 0.5059 GB, free: 13.22 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.4212, allocations: 14.1 MB / 0.5196 GB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007718/0.4289, allocations: 7.578 MB / 0.527 GB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/0.433, allocations: 2.836 MB / 0.5298 GB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.4334, allocations: 94.17 kB / 0.5299 GB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004936/0.4384, allocations: 3.005 MB / 0.5328 GB, free: 312 kB / 346.7 MB Notification: Performance of pre-optimization done (n=453): time 6.262e-06/0.4384, allocations: 4 kB / 0.5328 GB, free: 308 kB / 346.7 MB Notification: Performance of matching and sorting (n=453): time 0.01542/0.4538, allocations: 9.04 MB / 0.5417 GB, free: 7.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.454, allocations: 180.1 kB / 0.5418 GB, free: 7.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.4564, allocations: 1.473 MB / 0.5433 GB, free: 5.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006838/0.4571, allocations: 144.2 kB / 0.5434 GB, free: 5.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000706/0.4578, allocations: 0.8428 MB / 0.5442 GB, free: 4.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.4593, allocations: 1.451 MB / 0.5457 GB, free: 3.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.4608, allocations: 0.7424 MB / 0.5464 GB, free: 2.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4609, allocations: 305.1 kB / 0.5467 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/0.4648, allocations: 2.442 MB / 0.5491 GB, free: 15.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.469, allocations: 2.761 MB / 0.5518 GB, free: 12.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008595/0.4776, allocations: 5.313 MB / 0.5569 GB, free: 7.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4776, allocations: 0 / 0.5569 GB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01646/0.4941, allocations: 7.91 MB / 0.5647 GB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.4942, allocations: 6.656 kB / 0.5647 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4942, allocations: 0 / 0.5647 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04265/0.5368, allocations: 21.49 MB / 0.5857 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.5393, allocations: 0.5409 MB / 0.5862 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.5536, allocations: 6.863 MB / 0.5929 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/0.5584, allocations: 415.7 kB / 0.5933 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006279/0.559, allocations: 152 kB / 0.5934 GB, free: 2.027 MB / 410.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.001539/0.5606, allocations: 0.5332 MB / 0.5939 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007767/0.5614, allocations: 304.4 kB / 0.5942 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.5743, allocations: 7.785 MB / 0.6018 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.5743, allocations: 47.94 kB / 0.6019 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5744, allocations: 8 kB / 0.6019 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.696e-05/0.5744, allocations: 27.91 kB / 0.6019 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/0.5958, allocations: 12.55 MB / 0.6142 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.5959, allocations: 0 / 0.6142 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.5973, allocations: 402.8 kB / 0.6146 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03396/0.6313, allocations: 10.09 MB / 0.6244 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001139/0.6325, allocations: 95.97 kB / 0.6245 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/0.6459, allocations: 7.043 MB / 0.6314 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6459, allocations: 0 / 0.6314 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2189/0.8648, allocations: 11.95 MB / 0.643 GB, free: 162.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/0.8676, allocations: 0.9541 MB / 0.644 GB, free: 162.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/0.8681, allocations: 88.88 kB / 0.6441 GB, free: 162.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003296/0.8714, allocations: 268.9 kB / 0.6443 GB, free: 162.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007118/0.8722, allocations: 304.6 kB / 0.6446 GB, free: 162.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/0.8726, allocations: 153.2 kB / 0.6448 GB, free: 162.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00152/0.8741, allocations: 0.9268 MB / 0.6457 GB, free: 162.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8741, allocations: 1.969 kB / 0.6457 GB, free: 162.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002734/0.8768, allocations: 1.058 MB / 0.6467 GB, free: 162 MB / 458.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 {(74,162)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/0.8774, allocations: 279 kB / 0.647 GB, free: 161.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01669/0.8941, allocations: 6.989 MB / 0.6538 GB, free: 159.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/0.8942, allocations: 8.031 kB / 0.6538 GB, free: 159.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01284/0.907, allocations: 4.006 MB / 0.6577 GB, free: 157.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/0.9111, allocations: 379.7 kB / 0.6581 GB, free: 157.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.9251, allocations: 9.432 MB / 0.6673 GB, free: 152.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009642/0.9261, allocations: 1.839 MB / 0.6691 GB, free: 151.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001385/0.9275, allocations: 336.9 kB / 0.6694 GB, free: 151.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.928, allocations: 199.3 kB / 0.6696 GB, free: 151.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.928, allocations: 0 / 0.6696 GB, free: 151.2 MB / 458.7 MB Notification: Performance of Templates: time 0.08538/1.013, allocations: 71.16 MB / 0.7391 GB, free: 81.81 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)