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.004142/0.004142, allocations: 93.11 kB / 15.91 MB, free: 6.273 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.001109/0.001109, allocations: 200.2 kB / 16.84 MB, free: 6.188 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.198/1.198, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1502/0.1502, allocations: 8.084 MB / 298.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009844/0.0009844, allocations: 59.91 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08282, allocations: 51.51 MB / 412.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01176/0.09461, allocations: 14.48 MB / 427 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006353/0.101, allocations: 3.957 MB / 431 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.1025, allocations: 48 kB / 431 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1037, allocations: 0.5517 MB / 431.6 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.107, allocations: 1.449 MB / 433 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.1107, allocations: 1.994 MB / 435 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.1143, allocations: 3.463 MB / 438.5 MB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1439/0.2582, allocations: 1.021 MB / 439.5 MB, free: 36.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.26, allocations: 1.412 MB / 440.9 MB, free: 36.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.2615, allocations: 1.833 MB / 442.8 MB, free: 35.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.2619, allocations: 215.9 kB / 443 MB, free: 35.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009003/0.2628, allocations: 479.8 kB / 443.4 MB, free: 35.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.2631, allocations: 0.6685 MB / 444.1 MB, free: 35.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.2642, allocations: 1.615 MB / 445.7 MB, free: 35.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.2665, allocations: 3.52 MB / 449.2 MB, free: 34.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2666, allocations: 0 / 449.2 MB, free: 34.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2666, allocations: 0 / 449.2 MB, free: 34.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.147e-05/0.2666, allocations: 0 / 449.2 MB, free: 34.71 MB / 366.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.0301/0.2967, allocations: 8.192 MB / 457.4 MB, free: 33.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2968, allocations: 8.938 kB / 457.4 MB, free: 33.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.2975, allocations: 378 kB / 457.8 MB, free: 32.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.2994, allocations: 1.542 MB / 459.3 MB, free: 32.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.2997, allocations: 0.7508 MB / 460.1 MB, free: 31.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.3, allocations: 267.1 kB / 460.4 MB, free: 31.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/0.3051, allocations: 3.783 MB / 464.1 MB, free: 29.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.3051, allocations: 7.938 kB / 464.1 MB, free: 29.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.3054, allocations: 109.5 kB / 464.3 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.3054, allocations: 55.69 kB / 464.3 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/0.3099, allocations: 3.592 MB / 467.9 MB, free: 28.32 MB / 366.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.01479/0.3247, allocations: 14.09 MB / 482 MB, free: 18.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006141/0.3309, allocations: 7.579 MB / 489.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.3344, allocations: 2.825 MB / 492.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.3347, allocations: 99.27 kB / 492.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004394/0.3391, allocations: 3.011 MB / 495.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 5.962e-06/0.3392, allocations: 0 / 495.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01273/0.3519, allocations: 9.045 MB / 0.4927 GB, free: 6.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.352, allocations: 174.9 kB / 0.4929 GB, free: 6.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.3539, allocations: 1.473 MB / 0.4943 GB, free: 5.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.3543, allocations: 141 kB / 0.4945 GB, free: 5.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/0.3548, allocations: 0.8428 MB / 0.4953 GB, free: 5.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.3558, allocations: 1.449 MB / 0.4967 GB, free: 3.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.357, allocations: 0.7455 MB / 0.4974 GB, free: 3.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.357, allocations: 301.9 kB / 0.4977 GB, free: 3.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.3603, allocations: 2.44 MB / 0.5001 GB, free: 2.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.3639, allocations: 2.769 MB / 0.5028 GB, free: 424 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/0.3797, allocations: 6.161 MB / 0.5088 GB, free: 13.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3798, allocations: 0 / 0.5088 GB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01297/0.3928, allocations: 7.899 MB / 0.5165 GB, free: 5.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3928, allocations: 4 kB / 0.5165 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3928, allocations: 0.6875 kB / 0.5165 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03867/0.4315, allocations: 21.5 MB / 0.5375 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.4338, allocations: 0.5414 MB / 0.5381 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.4471, allocations: 6.856 MB / 0.5448 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.4502, allocations: 419.1 kB / 0.5452 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.4506, allocations: 148.5 kB / 0.5453 GB, free: 8.008 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 (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.001239/0.4519, allocations: 0.5407 MB / 0.5458 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.4525, allocations: 304.4 kB / 0.5461 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.4639, allocations: 7.784 MB / 0.5537 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/0.464, allocations: 55.5 kB / 0.5538 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.464, allocations: 0 / 0.5538 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/0.464, allocations: 27.91 kB / 0.5538 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.482, allocations: 12.56 MB / 0.5661 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.482, allocations: 0 / 0.5661 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.4832, allocations: 407.9 kB / 0.5664 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03126/0.5145, allocations: 10.07 MB / 0.5763 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007625/0.5153, allocations: 95.98 kB / 0.5764 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.5275, allocations: 7.036 MB / 0.5832 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5275, allocations: 0 / 0.5832 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.5403, allocations: 7.651 MB / 0.5907 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.542, allocations: 0.9606 MB / 0.5917 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004688/0.5424, allocations: 87.09 kB / 0.5917 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.545, allocations: 268.6 kB / 0.592 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006406/0.5456, allocations: 307.5 kB / 0.5923 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003274/0.5459, allocations: 148 kB / 0.5924 GB, free: 7.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.5472, allocations: 0.9308 MB / 0.5933 GB, free: 6.859 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5472, allocations: 0 / 0.5933 GB, free: 6.859 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001892/0.5491, allocations: 1.058 MB / 0.5944 GB, free: 5.801 MB / 462.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.0005123/0.5496, allocations: 279.9 kB / 0.5946 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1562/0.7058, allocations: 6.975 MB / 0.6015 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.609e-06/0.7058, allocations: 9.5 kB / 0.6015 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009998/0.7158, allocations: 4.013 MB / 0.6054 GB, free: 144.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.718, allocations: 383.3 kB / 0.6057 GB, free: 144.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.7287, allocations: 7.317 MB / 0.6129 GB, free: 141.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.7295, allocations: 1.722 MB / 0.6146 GB, free: 140.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001275/0.7308, allocations: 335.2 kB / 0.6149 GB, free: 140.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.7313, allocations: 200 kB / 0.6151 GB, free: 140.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7313, allocations: 6.531 kB / 0.6151 GB, free: 140.5 MB / 462.1 MB Notification: Performance of Templates: time 0.07735/0.8087, allocations: 66.92 MB / 0.6804 GB, free: 102.6 MB / 462.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)