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.001524/0.001524, allocations: 95.58 kB / 15.73 MB, free: 440 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.001863/0.001863, allocations: 178.4 kB / 16.62 MB, free: 6.426 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.51/1.51, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2478/0.2478, allocations: 8.084 MB / 299.7 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 52.52 MB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.2573/0.3844, allocations: 11.73 MB / 427 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3947, allocations: 3.947 MB / 430.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/0.3984, allocations: 42.81 kB / 431 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.4004, allocations: 409.2 kB / 431.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.4073, allocations: 1.574 MB / 433 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.4122, allocations: 1.763 MB / 434.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008917/0.4211, allocations: 2.492 MB / 437.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.4228, allocations: 0.9009 MB / 438.1 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.4254, allocations: 1.261 MB / 439.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.428, allocations: 1.597 MB / 441 MB, free: 32.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005348/0.4286, allocations: 157.6 kB / 441.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.43, allocations: 396.9 kB / 441.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.4305, allocations: 0.5677 MB / 442.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009277/0.4314, allocations: 0.5571 MB / 442.6 MB, free: 31.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.4339, allocations: 2.57 MB / 445.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.4339, allocations: 0 / 445.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4339, allocations: 0 / 445.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.96e-05/0.434, allocations: 0 / 445.2 MB, free: 30.73 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.03056/0.4646, allocations: 7.792 MB / 453 MB, free: 28.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4646, allocations: 9.312 kB / 453 MB, free: 28.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.4666, allocations: 379.5 kB / 453.4 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.47, allocations: 1.493 MB / 454.9 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.4704, allocations: 0.7536 MB / 455.6 MB, free: 26.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005348/0.4709, allocations: 271 kB / 455.9 MB, free: 26.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005784/0.4767, allocations: 3.784 MB / 459.7 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.4768, allocations: 2.969 kB / 459.7 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.4771, allocations: 110.9 kB / 459.8 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.4772, allocations: 58.86 kB / 459.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006463/0.4837, allocations: 3.607 MB / 463.5 MB, free: 23.11 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.02434/0.508, allocations: 14.33 MB / 477.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008673/0.5167, allocations: 7.575 MB / 485.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.5176, allocations: 100.8 kB / 485.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0061/0.5237, allocations: 3.021 MB / 488.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=453): time 7.764e-06/0.5237, allocations: 0 / 488.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=453): time 0.01512/0.5388, allocations: 9.064 MB / 497.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.539, allocations: 176.1 kB / 497.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.5411, allocations: 1.465 MB / 499.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008611/0.542, allocations: 137.7 kB / 499.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000726/0.5428, allocations: 0.8382 MB / 0.4884 GB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.5444, allocations: 1.451 MB / 0.4899 GB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.5448, allocations: 92 kB / 0.4899 GB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.5451, allocations: 484 kB / 0.4904 GB, free: 12.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/0.5489, allocations: 2.442 MB / 0.4928 GB, free: 9.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/0.5533, allocations: 2.749 MB / 0.4955 GB, free: 7.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/0.5576, allocations: 2.573 MB / 0.498 GB, free: 4.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.5576, allocations: 0 / 0.498 GB, free: 4.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01443/0.572, allocations: 7.974 MB / 0.5058 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.5721, allocations: 4 kB / 0.5058 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5721, allocations: 0 / 0.5058 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04169/0.6138, allocations: 21.14 MB / 0.5264 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.6166, allocations: 0.5655 MB / 0.527 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.6318, allocations: 6.876 MB / 0.5337 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/0.6362, allocations: 447.6 kB / 0.5341 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005107/0.6368, allocations: 155.9 kB / 0.5343 GB, free: 15.3 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.001407/0.6382, allocations: 0.5376 MB / 0.5348 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007891/0.639, allocations: 300.4 kB / 0.5351 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.6523, allocations: 7.84 MB / 0.5427 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.6524, allocations: 51.94 kB / 0.5428 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6524, allocations: 0 / 0.5428 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-05/0.6525, allocations: 31.86 kB / 0.5428 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02361/0.6761, allocations: 12.61 MB / 0.5551 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.6762, allocations: 0 / 0.5551 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.6779, allocations: 427.4 kB / 0.5555 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03262/0.7105, allocations: 9.855 MB / 0.5652 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/0.7117, allocations: 107.9 kB / 0.5653 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.7251, allocations: 7.003 MB / 0.5721 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7251, allocations: 4 kB / 0.5721 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.7385, allocations: 7.67 MB / 0.5796 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2267/0.9653, allocations: 0.9794 MB / 0.5806 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/0.9665, allocations: 84.47 kB / 0.5806 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/0.9705, allocations: 328.2 kB / 0.5809 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000706/0.9712, allocations: 322.2 kB / 0.5813 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000348/0.9716, allocations: 157.1 kB / 0.5814 GB, free: 131.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001437/0.973, allocations: 0.9135 MB / 0.5823 GB, free: 131.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.973, allocations: 2.562 kB / 0.5823 GB, free: 131.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002879/0.9759, allocations: 1.062 MB / 0.5833 GB, free: 131.4 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.0007085/0.9766, allocations: 278.5 kB / 0.5836 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01548/0.9921, allocations: 6.988 MB / 0.5904 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.9922, allocations: 9.281 kB / 0.5904 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.004, allocations: 3.999 MB / 0.5943 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.007, allocations: 291.7 kB / 0.5946 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/1.022, allocations: 7.313 MB / 0.6018 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.023, allocations: 1.778 MB / 0.6035 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001553/1.024, allocations: 355.9 kB / 0.6038 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/1.025, allocations: 221.7 kB / 0.604 GB, free: 124 MB / 446.1 MB Notification: Performance of SimCode: time 3.106e-06/1.025, allocations: 0 / 0.604 GB, free: 124 MB / 446.1 MB Notification: Performance of Templates: time 0.09697/1.122, allocations: 63.9 MB / 0.6664 GB, free: 79.36 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: