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.001026/0.001026, allocations: 102.2 kB / 16.57 MB, free: 6.262 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.001254/0.001255, allocations: 193.6 kB / 17.49 MB, free: 5.875 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.357/1.357, allocations: 222.9 MB / 241.2 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05416/0.05416, allocations: 8.1 MB / 299.4 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.91 kB / 361.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2356, allocations: 51.51 MB / 413.2 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01071/0.2464, allocations: 14.49 MB / 427.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.2541, allocations: 3.934 MB / 431.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.2573, allocations: 47.94 kB / 431.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.2592, allocations: 0.5595 MB / 432.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.2646, allocations: 1.445 MB / 433.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.2686, allocations: 2.013 MB / 435.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004897/0.2735, allocations: 3.462 MB / 439.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.2754, allocations: 1.012 MB / 440.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.2778, allocations: 1.412 MB / 441.6 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.2806, allocations: 1.828 MB / 443.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006852/0.2813, allocations: 216 kB / 443.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.2828, allocations: 483.7 kB / 444.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000612/0.2835, allocations: 0.669 MB / 444.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.2856, allocations: 1.613 MB / 446.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.2889, allocations: 2.673 MB / 449 MB, free: 5.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2889, allocations: 4 kB / 449 MB, free: 5.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2889, allocations: 0 / 449 MB, free: 5.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.289, allocations: 0 / 449 MB, free: 5.781 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.0358/0.3248, allocations: 8.181 MB / 457.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3249, allocations: 19.91 kB / 457.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000981/0.3259, allocations: 380.8 kB / 457.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.3286, allocations: 1.539 MB / 459.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/0.3291, allocations: 0.7502 MB / 459.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004721/0.3296, allocations: 272.4 kB / 460.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/0.3364, allocations: 3.772 MB / 463.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.3365, allocations: 11.94 kB / 464 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000347/0.3368, allocations: 116 kB / 464.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.3369, allocations: 56 kB / 464.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006213/0.3431, allocations: 3.587 MB / 467.7 MB, free: 2.77 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.02324/0.3664, allocations: 14.1 MB / 481.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008443/0.3748, allocations: 7.586 MB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/0.3795, allocations: 2.832 MB / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.3799, allocations: 91.2 kB / 492.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005355/0.3853, allocations: 3.008 MB / 495.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 7.785e-06/0.3853, allocations: 3.938 kB / 495.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01561/0.4009, allocations: 9.04 MB / 0.4926 GB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.4011, allocations: 176.1 kB / 0.4927 GB, free: 12.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.4034, allocations: 1.484 MB / 0.4942 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006391/0.404, allocations: 137.7 kB / 0.4943 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.4047, allocations: 0.8304 MB / 0.4951 GB, free: 9.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.4061, allocations: 1.455 MB / 0.4965 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.4075, allocations: 0.7463 MB / 0.4973 GB, free: 7.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.4076, allocations: 301.1 kB / 0.4976 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/0.4116, allocations: 2.442 MB / 0.4999 GB, free: 4.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00458/0.4162, allocations: 2.769 MB / 0.5026 GB, free: 2.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1862/0.6024, allocations: 5.31 MB / 0.5078 GB, free: 87.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.6024, allocations: 0 / 0.5078 GB, free: 87.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01492/0.6174, allocations: 7.897 MB / 0.5155 GB, free: 83.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.6174, allocations: 5.281 kB / 0.5155 GB, free: 83.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6174, allocations: 0.6094 kB / 0.5155 GB, free: 83.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03874/0.6562, allocations: 21.49 MB / 0.5365 GB, free: 69.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.6583, allocations: 0.5449 MB / 0.5371 GB, free: 68.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.671, allocations: 6.857 MB / 0.5438 GB, free: 62.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003677/0.6747, allocations: 415 kB / 0.5442 GB, free: 62.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/0.6751, allocations: 145.9 kB / 0.5443 GB, free: 61.88 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.00124/0.6764, allocations: 0.5408 MB / 0.5448 GB, free: 61.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.677, allocations: 306.7 kB / 0.5451 GB, free: 61.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.688, allocations: 7.784 MB / 0.5527 GB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.6881, allocations: 52 kB / 0.5528 GB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.6881, allocations: 0 / 0.5528 GB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-05/0.6881, allocations: 27.91 kB / 0.5528 GB, free: 53.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.7056, allocations: 12.56 MB / 0.5651 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/0.7056, allocations: 0 / 0.5651 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.7069, allocations: 407.5 kB / 0.5654 GB, free: 40.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0312/0.7381, allocations: 10.07 MB / 0.5753 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000971/0.7392, allocations: 95.98 kB / 0.5754 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.751, allocations: 7.038 MB / 0.5822 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7511, allocations: 3.984 kB / 0.5823 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.7633, allocations: 7.642 MB / 0.5897 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/0.7653, allocations: 0.9606 MB / 0.5907 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/0.766, allocations: 87.98 kB / 0.5907 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/0.769, allocations: 267.2 kB / 0.591 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007409/0.7697, allocations: 303.5 kB / 0.5913 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003348/0.7701, allocations: 156 kB / 0.5914 GB, free: 13.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.7714, allocations: 0.923 MB / 0.5923 GB, free: 12.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7714, allocations: 1.203 kB / 0.5923 GB, free: 12.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002405/0.7738, allocations: 1.054 MB / 0.5934 GB, free: 11.66 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.0006175/0.7744, allocations: 283.4 kB / 0.5936 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01555/0.79, allocations: 6.992 MB / 0.6005 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.79, allocations: 11 kB / 0.6005 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01146/0.8015, allocations: 4 MB / 0.6044 GB, free: 400 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.8041, allocations: 381.7 kB / 0.6047 GB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.8171, allocations: 7.39 MB / 0.612 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.8183, allocations: 1.72 MB / 0.6136 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008127/0.8191, allocations: 223.4 kB / 0.6138 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8191, allocations: 0 / 0.6138 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Templates: time 0.07058/0.8897, allocations: 51.08 MB / 0.6637 GB, free: 3.543 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)