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.00119/0.00119, allocations: 101.8 kB / 16.45 MB, free: 6.449 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.001291/0.001291, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0508/0.0508, allocations: 8.112 MB / 299.3 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 414.5 MB, free: 21.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 51.51 MB / 466.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01385/0.1186, allocations: 14.72 MB / 480.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.1279, allocations: 3.957 MB / 484.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.1311, allocations: 44 kB / 484.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.133, allocations: 0.6902 MB / 485.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.1388, allocations: 1.63 MB / 487.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005126/0.1439, allocations: 2.156 MB / 489.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00797/0.1519, allocations: 3.634 MB / 492.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.1537, allocations: 1.181 MB / 494.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1559, allocations: 1.51 MB / 495.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.1582, allocations: 1.891 MB / 497.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.1588, allocations: 300 kB / 497.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1601, allocations: 0.5622 MB / 498.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.1606, allocations: 0.7471 MB / 499.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.1622, allocations: 1.683 MB / 0.489 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.1666, allocations: 3.636 MB / 0.4926 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1666, allocations: 0 / 0.4926 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1666, allocations: 0 / 0.4926 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-05/0.1667, allocations: 0 / 0.4926 GB, free: 11.57 MB / 382.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.03453/0.2012, allocations: 8.189 MB / 0.5006 GB, free: 3.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2013, allocations: 8.031 kB / 0.5006 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008682/0.2021, allocations: 380.8 kB / 0.5009 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.2047, allocations: 1.543 MB / 0.5024 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/0.2051, allocations: 0.758 MB / 0.5032 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004308/0.2055, allocations: 264.4 kB / 0.5034 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.255/0.4606, allocations: 3.78 MB / 0.5071 GB, free: 40.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.4607, allocations: 4.188 kB / 0.5071 GB, free: 40.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.461, allocations: 112 kB / 0.5072 GB, free: 40.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.4611, allocations: 57.06 kB / 0.5073 GB, free: 40.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005768/0.4668, allocations: 3.589 MB / 0.5108 GB, free: 39.03 MB / 382.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.02059/0.4874, allocations: 14.06 MB / 0.5245 GB, free: 29.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006495/0.4939, allocations: 7.582 MB / 0.5319 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/0.4969, allocations: 2.834 MB / 0.5347 GB, free: 22.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.4972, allocations: 85.95 kB / 0.5348 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003725/0.501, allocations: 3.016 MB / 0.5377 GB, free: 21.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=453): time 4.659e-06/0.501, allocations: 0 / 0.5377 GB, free: 21.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=453): time 0.01162/0.5126, allocations: 9.043 MB / 0.5466 GB, free: 13.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.5127, allocations: 176.1 kB / 0.5467 GB, free: 13.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.5144, allocations: 1.48 MB / 0.5482 GB, free: 12.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004586/0.5149, allocations: 137.7 kB / 0.5483 GB, free: 12.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.5154, allocations: 0.8389 MB / 0.5491 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008792/0.5163, allocations: 1.446 MB / 0.5505 GB, free: 9.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.5173, allocations: 0.7463 MB / 0.5513 GB, free: 9.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.5174, allocations: 309.1 kB / 0.5516 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/0.5203, allocations: 2.446 MB / 0.5539 GB, free: 6.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/0.5236, allocations: 2.761 MB / 0.5566 GB, free: 3.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006991/0.5306, allocations: 5.306 MB / 0.5618 GB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5306, allocations: 0 / 0.5618 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01379/0.5444, allocations: 7.904 MB / 0.5695 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.5445, allocations: 8 kB / 0.5695 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.5445, allocations: 0 / 0.5695 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04291/0.5874, allocations: 21.49 MB / 0.5905 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.5898, allocations: 0.5422 MB / 0.5911 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.6052, allocations: 6.856 MB / 0.5978 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/0.6089, allocations: 415.8 kB / 0.5982 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/0.6093, allocations: 148 kB / 0.5983 GB, free: 8.602 MB / 430.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.001331/0.6107, allocations: 0.5454 MB / 0.5988 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006984/0.6114, allocations: 296.4 kB / 0.5991 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.6245, allocations: 7.784 MB / 0.6067 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/0.6246, allocations: 51.98 kB / 0.6068 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6246, allocations: 0 / 0.6068 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-05/0.6247, allocations: 27.91 kB / 0.6068 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.6438, allocations: 12.47 MB / 0.619 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.6438, allocations: 0 / 0.619 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.6451, allocations: 411.4 kB / 0.6194 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03203/0.6771, allocations: 10.11 MB / 0.6292 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00128/0.6785, allocations: 91.98 kB / 0.6293 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.6932, allocations: 7.045 MB / 0.6362 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6932, allocations: 0 / 0.6362 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.7068, allocations: 7.652 MB / 0.6437 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/0.7091, allocations: 0.9568 MB / 0.6446 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.7096, allocations: 88 kB / 0.6447 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/0.7124, allocations: 262.2 kB / 0.6449 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006786/0.7131, allocations: 307.5 kB / 0.6452 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003048/0.7134, allocations: 156 kB / 0.6454 GB, free: 8.301 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.7148, allocations: 0.923 MB / 0.6463 GB, free: 7.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7148, allocations: 0 / 0.6463 GB, free: 7.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002058/0.7169, allocations: 1.065 MB / 0.6473 GB, free: 6.32 MB / 478.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 {(80,156)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005883/0.7175, allocations: 291.2 kB / 0.6476 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01672/0.7342, allocations: 7.059 MB / 0.6545 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/0.7342, allocations: 7 kB / 0.6545 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01198/0.7462, allocations: 4.163 MB / 0.6586 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.7495, allocations: 392.5 kB / 0.6589 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.7615, allocations: 6.095 MB / 0.6649 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.7627, allocations: 1.716 MB / 0.6666 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.7639, allocations: 337.5 kB / 0.6669 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.7644, allocations: 211.3 kB / 0.6671 GB, free: 2.059 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7644, allocations: 0 / 0.6671 GB, free: 2.059 MB / 494.1 MB Notification: Performance of Templates: time 0.3439/1.108, allocations: 72.49 MB / 0.7379 GB, free: 159.4 MB / 0.5137 GB 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)