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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(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.0008551/0.0008552, allocations: 88.41 kB / 16.71 MB, free: 6.145 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.001087/0.001088, allocations: 180.4 kB / 17.62 MB, free: 5.855 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.317/1.317, allocations: 223.3 MB / 241.7 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04191/0.04191, allocations: 8.093 MB / 300.9 MB, free: 6.512 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 8 kB / 364.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2145, allocations: 52.5 MB / 416.7 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.008619/0.2232, allocations: 13.78 MB / 430.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006481/0.2297, allocations: 3.934 MB / 434.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.2316, allocations: 44 kB / 434.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.2328, allocations: 0.5517 MB / 435 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004314/0.2372, allocations: 1.46 MB / 436.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.2408, allocations: 1.972 MB / 438.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.2448, allocations: 3.47 MB / 441.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.2462, allocations: 0.9889 MB / 442.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.2481, allocations: 1.311 MB / 444.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.2501, allocations: 1.711 MB / 445.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003732/0.2504, allocations: 160 kB / 446 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2515, allocations: 423.8 kB / 446.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.252, allocations: 0.587 MB / 447 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.2534, allocations: 1.552 MB / 448.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.256, allocations: 2.59 MB / 451.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.256, allocations: 0 / 451.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.256, allocations: 0 / 451.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.581e-05/0.256, allocations: 0 / 451.2 MB, free: 6.129 MB / 318.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.03388/0.2899, allocations: 7.753 MB / 458.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.29, allocations: 15.91 kB / 458.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.2912, allocations: 384.8 kB / 459.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.2939, allocations: 1.547 MB / 460.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/0.2945, allocations: 0.7503 MB / 461.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/0.2951, allocations: 272.4 kB / 461.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/0.3022, allocations: 3.83 MB / 465.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.3022, allocations: 3.938 kB / 465.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.3026, allocations: 112 kB / 465.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.3027, allocations: 56 kB / 465.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005964/0.3087, allocations: 3.63 MB / 469.5 MB, free: 3.449 MB / 334.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.0217/0.3304, allocations: 14.29 MB / 483.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/0.3388, allocations: 7.601 MB / 491.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004714/0.3435, allocations: 2.852 MB / 494.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.3439, allocations: 103.2 kB / 494.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00527/0.3492, allocations: 3.051 MB / 497.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 6.121e-06/0.3493, allocations: 4 kB / 497.4 MB, free: 6.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01521/0.3645, allocations: 9.115 MB / 0.4946 GB, free: 12.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.3646, allocations: 176.1 kB / 0.4948 GB, free: 12.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.3669, allocations: 1.473 MB / 0.4963 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005226/0.3674, allocations: 141.7 kB / 0.4964 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.3681, allocations: 0.8343 MB / 0.4972 GB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.3694, allocations: 1.448 MB / 0.4986 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/0.3699, allocations: 391.7 kB / 0.499 GB, free: 8.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.37, allocations: 309.1 kB / 0.4993 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/0.374, allocations: 2.465 MB / 0.5017 GB, free: 5.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.3783, allocations: 2.781 MB / 0.5044 GB, free: 2.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1773/0.5556, allocations: 5.346 MB / 0.5096 GB, free: 86.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.5557, allocations: 0 / 0.5096 GB, free: 86.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01345/0.5691, allocations: 7.962 MB / 0.5174 GB, free: 83.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.5692, allocations: 5.297 kB / 0.5174 GB, free: 83.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.5692, allocations: 1.375 kB / 0.5174 GB, free: 83.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03952/0.6087, allocations: 21.52 MB / 0.5384 GB, free: 69.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.6113, allocations: 0.5655 MB / 0.539 GB, free: 69.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.624, allocations: 6.857 MB / 0.5457 GB, free: 62.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/0.6277, allocations: 441.8 kB / 0.5461 GB, free: 62.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/0.6282, allocations: 156.5 kB / 0.5462 GB, free: 62.34 MB / 382.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 (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.001127/0.6293, allocations: 0.5409 MB / 0.5468 GB, free: 61.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/0.6299, allocations: 301.5 kB / 0.5471 GB, free: 61.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.641, allocations: 7.863 MB / 0.5547 GB, free: 53.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.6411, allocations: 48 kB / 0.5548 GB, free: 53.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6411, allocations: 4 kB / 0.5548 GB, free: 53.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/0.6411, allocations: 23.91 kB / 0.5548 GB, free: 53.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.658, allocations: 12.64 MB / 0.5671 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.658, allocations: 0 / 0.5671 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.6596, allocations: 427.4 kB / 0.5676 GB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03271/0.6924, allocations: 10.1 MB / 0.5774 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008703/0.6933, allocations: 111.9 kB / 0.5775 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.7054, allocations: 7.037 MB / 0.5844 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7055, allocations: 0 / 0.5844 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.718, allocations: 7.709 MB / 0.5919 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/0.7199, allocations: 0.9645 MB / 0.5929 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005645/0.7204, allocations: 91.38 kB / 0.593 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/0.7238, allocations: 328.2 kB / 0.5933 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006138/0.7244, allocations: 315.5 kB / 0.5936 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/0.7247, allocations: 159.9 kB / 0.5937 GB, free: 13.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001349/0.7261, allocations: 0.9269 MB / 0.5946 GB, free: 12.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7261, allocations: 0 / 0.5946 GB, free: 12.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002045/0.7281, allocations: 1.062 MB / 0.5957 GB, free: 11.92 MB / 382.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 (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.0005478/0.7287, allocations: 289.4 kB / 0.5959 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01572/0.7444, allocations: 7.006 MB / 0.6028 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.7445, allocations: 7 kB / 0.6028 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01131/0.7558, allocations: 4.02 MB / 0.6067 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.7582, allocations: 377.5 kB / 0.6071 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.7713, allocations: 7.424 MB / 0.6143 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.7726, allocations: 1.724 MB / 0.616 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008383/0.7734, allocations: 255.3 kB / 0.6163 GB, free: 6.797 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7735, allocations: 0 / 0.6163 GB, free: 6.797 MB / 398.1 MB Notification: Performance of Templates: time 0.07284/0.8463, allocations: 51.37 MB / 0.6664 GB, free: 3.406 MB / 446.1 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)