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.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/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008215/0.0008216, allocations: 84.19 kB / 15.75 MB, free: 416 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.001542/0.001542, allocations: 172.9 kB / 16.63 MB, free: 6.887 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.512/1.512, allocations: 223.3 MB / 240.7 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.274/0.274, allocations: 8.087 MB / 299.8 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005543, allocations: 12 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1535, allocations: 52.52 MB / 415.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.2829/0.4364, allocations: 12.75 MB / 428.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00944/0.4459, allocations: 3.782 MB / 431.9 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.4492, allocations: 45.72 kB / 431.9 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.4509, allocations: 410.8 kB / 432.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.4565, allocations: 1.388 MB / 433.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.4612, allocations: 1.758 MB / 435.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.4684, allocations: 3.275 MB / 438.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.4707, allocations: 0.9058 MB / 439.7 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.474, allocations: 1.274 MB / 440.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/0.4774, allocations: 1.647 MB / 442.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008614/0.4783, allocations: 160.4 kB / 442.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.4809, allocations: 405.2 kB / 443.1 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.4815, allocations: 0.5832 MB / 443.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.4828, allocations: 0.5548 MB / 444.3 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.4858, allocations: 2.591 MB / 446.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4859, allocations: 6.844 kB / 446.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4859, allocations: 0 / 446.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.71e-05/0.486, allocations: 0 / 446.9 MB, free: 29.8 MB / 350.1 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.02974/0.5157, allocations: 7.788 MB / 454.7 MB, free: 27.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5158, allocations: 9.375 kB / 454.7 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.5177, allocations: 381.6 kB / 455.1 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.5215, allocations: 1.493 MB / 456.5 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.522, allocations: 0.7534 MB / 457.3 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008877/0.5229, allocations: 271.8 kB / 457.6 MB, free: 25.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.5292, allocations: 3.811 MB / 461.4 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.5293, allocations: 0 / 461.4 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003507/0.5297, allocations: 108.3 kB / 461.5 MB, free: 23.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.5297, allocations: 62.27 kB / 461.5 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006683/0.5364, allocations: 3.612 MB / 465.2 MB, free: 22.18 MB / 350.1 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.02613/0.5626, allocations: 14.28 MB / 479.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009465/0.5721, allocations: 7.582 MB / 487 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006397/0.5786, allocations: 2.829 MB / 489.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/0.5794, allocations: 101.2 kB / 489.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00774/0.5872, allocations: 3.037 MB / 493 MB, free: 4.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=453): time 9.047e-06/0.5873, allocations: 0 / 493 MB, free: 4.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=453): time 0.01865/0.6059, allocations: 9.072 MB / 0.4903 GB, free: 12.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.6061, allocations: 176.1 kB / 0.4905 GB, free: 12.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.6087, allocations: 1.461 MB / 0.4919 GB, free: 11.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001018/0.6097, allocations: 141.7 kB / 0.492 GB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.6106, allocations: 0.8342 MB / 0.4928 GB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00191/0.6125, allocations: 1.448 MB / 0.4942 GB, free: 8.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.6128, allocations: 96 kB / 0.4943 GB, free: 8.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.6131, allocations: 476 kB / 0.4948 GB, free: 8.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004239/0.6173, allocations: 2.442 MB / 0.4972 GB, free: 5.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/0.6221, allocations: 2.777 MB / 0.4999 GB, free: 2.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004906/0.627, allocations: 2.577 MB / 0.5024 GB, free: 276 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.6271, allocations: 0 / 0.5024 GB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01581/0.6429, allocations: 7.97 MB / 0.5102 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.643, allocations: 4 kB / 0.5102 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.643, allocations: 0 / 0.5102 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04211/0.6851, allocations: 21.14 MB / 0.5308 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.6882, allocations: 0.5733 MB / 0.5314 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.7057, allocations: 6.876 MB / 0.5381 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/0.7099, allocations: 443.7 kB / 0.5385 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006188/0.7106, allocations: 159.9 kB / 0.5387 GB, free: 10.98 MB / 414.1 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 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.b61280.degradedMode,b61280.degradedMode,$PRE.b11458.degradedMode,b11458.degradedMode,$PRE.b61256.degradedMode,b61256.degradedMode,$PRE.b11480.degradedMode,b11480.degradedMode,$PRE.b61232.degradedMode,b61232.degradedMode,$PRE.b61121.degradedMode,b61121.degradedMode,$PRE.b87694.degradedMode,b87694.degradedMode,$PRE.b11465.degradedMode,b11465.degradedMode,$PRE.b61260.degradedMode,b61260.degradedMode,$PRE.b61254.degradedMode,b61254.degradedMode,$PRE.b11407.degradedMode,b11407.degradedMode,$PRE.b11403.degradedMode,b11403.degradedMode,$PRE.b61227.degradedMode,b61227.degradedMode,$PRE.b61089.degradedMode,b61089.degradedMode,$PRE.b61274.degradedMode,b61274.degradedMode,$PRE.b61273.degradedMode,b61273.degradedMode,$PRE.b61275.degradedMode,b61275.degradedMode,$PRE.b56131.degradedMode,b56131.degradedMode,$PRE.b87656.degradedMode,b87656.degradedMode,$PRE.b61106.degradedMode,b61106.degradedMode) * 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 (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: 0 * Non-linear torn systems: 1 {78 138} Notification: Performance of prepare postOptimizeDAE: time 0.001789/0.7124, allocations: 0.5337 MB / 0.5392 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009043/0.7133, allocations: 300.4 kB / 0.5395 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.7276, allocations: 7.844 MB / 0.5471 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.7277, allocations: 48 kB / 0.5472 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.7277, allocations: 3.953 kB / 0.5472 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/0.7278, allocations: 23.91 kB / 0.5472 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/0.7519, allocations: 12.59 MB / 0.5595 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/0.752, allocations: 0 / 0.5595 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.7537, allocations: 427.3 kB / 0.5599 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03133/0.7851, allocations: 9.859 MB / 0.5695 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001325/0.7864, allocations: 112 kB / 0.5697 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.8005, allocations: 7.003 MB / 0.5765 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8006, allocations: 0 / 0.5765 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.268/1.069, allocations: 7.669 MB / 0.584 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002876/1.071, allocations: 0.9702 MB / 0.5849 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000831/1.072, allocations: 82.19 kB / 0.585 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.076, allocations: 339.4 kB / 0.5853 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007474/1.076, allocations: 321.1 kB / 0.5856 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004235/1.077, allocations: 160.7 kB / 0.5858 GB, free: 129.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00188/1.079, allocations: 0.9132 MB / 0.5867 GB, free: 129.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.079, allocations: 0 / 0.5867 GB, free: 129.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003937/1.083, allocations: 1.064 MB / 0.5877 GB, free: 129.8 MB / 446.1 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 (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: 0 * Non-linear torn systems: 1 {74 162} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008229/1.084, allocations: 280.9 kB / 0.588 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01769/1.101, allocations: 6.999 MB / 0.5948 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/1.101, allocations: 8.75 kB / 0.5948 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01183/1.113, allocations: 4.005 MB / 0.5987 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.117, allocations: 383 kB / 0.5991 GB, free: 125.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.129, allocations: 7.037 MB / 0.606 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.13, allocations: 1.718 MB / 0.6077 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001683/1.132, allocations: 354.8 kB / 0.608 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/1.133, allocations: 222.8 kB / 0.6082 GB, free: 121 MB / 446.1 MB Notification: Performance of SimCode: time 1.984e-06/1.133, allocations: 0 / 0.6082 GB, free: 121 MB / 446.1 MB Notification: Performance of Templates: time 0.1045/1.237, allocations: 64.13 MB / 0.6708 GB, free: 75.05 MB / 446.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: