Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 84.22 kB / 20.98 MB, free: 3.562 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 165 kB / 24.29 MB, free: 264 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.099/1.099, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02412/0.02412, allocations: 4.488 MB / 265.6 MB, free: 8.629 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 336.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.09e-05, allocations: 2.312 kB / 336.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004038/0.004069, allocations: 3.573 MB / 340.1 MB, free: 10 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.006765, allocations: 1.991 MB / 342 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.007118, allocations: 8 kB / 342.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.007719, allocations: 222.4 kB / 342.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007092/0.008428, allocations: 393.2 kB / 342.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.009794, allocations: 1.241 MB / 343.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007702/0.01056, allocations: 0.7927 MB / 344.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.01082, allocations: 154.1 kB / 344.8 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.0112, allocations: 474.8 kB / 345.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.01149, allocations: 339 kB / 345.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.01155, allocations: 60 kB / 345.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.01198, allocations: 291.6 kB / 346 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.01205, allocations: 159.3 kB / 346.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.01219, allocations: 255.3 kB / 346.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006934/0.01288, allocations: 0.7785 MB / 347.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.01288, allocations: 0 / 347.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01289, allocations: 4 kB / 347.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.01289, allocations: 0 / 347.2 MB, free: 2.848 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004502/0.0174, allocations: 2.215 MB / 349.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.01745, allocations: 12.03 kB / 349.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.01765, allocations: 120.5 kB / 349.5 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.01811, allocations: 431 kB / 349.9 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.01816, allocations: 45.45 kB / 350 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.01825, allocations: 64.38 kB / 350 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/0.01917, allocations: 0.9655 MB / 351 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01918, allocations: 192 / 351 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.01924, allocations: 20.38 kB / 351 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.01925, allocations: 16.38 kB / 351 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.01985, allocations: 337.7 kB / 351.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.02236, allocations: 1.784 MB / 353.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/0.02328, allocations: 0.6692 MB / 353.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.02367, allocations: 281 kB / 354.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-05/0.02376, allocations: 28.98 kB / 354.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.02379, allocations: 46.39 kB / 354.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 1.904e-06/0.02379, allocations: 0 / 354.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.007289/0.03108, allocations: 3.017 MB / 357.2 MB, free: 8.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.03115, allocations: 119.8 kB / 357.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.03151, allocations: 462.5 kB / 357.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.03157, allocations: 49.7 kB / 357.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.03171, allocations: 280.5 kB / 358.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.03188, allocations: 317.2 kB / 358.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.03209, allocations: 200.3 kB / 358.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.03226, allocations: 0.5508 MB / 359.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.03268, allocations: 297.8 kB / 359.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.03316, allocations: 449.3 kB / 359.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/0.03409, allocations: 0.7232 MB / 360.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.03409, allocations: 8.031 kB / 360.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003173/0.03727, allocations: 1.744 MB / 362.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.03728, allocations: 4 kB / 362.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.03729, allocations: 0 / 362.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/0.04158, allocations: 1.876 MB / 364.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.04189, allocations: 147.8 kB / 364.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007217/0.04911, allocations: 4.8 MB / 369.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.04944, allocations: 95.22 kB / 369.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.04949, allocations: 39.97 kB / 369.3 MB, free: 12.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.04968, allocations: 200.5 kB / 369.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.0498, allocations: 95.58 kB / 369.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.05285, allocations: 1.654 MB / 371.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.05285, allocations: 12 kB / 371.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.05286, allocations: 4 kB / 371.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.05287, allocations: 11.95 kB / 371.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.05645, allocations: 2.326 MB / 373.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.05645, allocations: 0 / 373.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.05665, allocations: 107.9 kB / 373.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004113/0.06077, allocations: 1.673 MB / 375.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.06082, allocations: 19.98 kB / 375.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007062/0.06788, allocations: 4.709 MB / 380.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.06788, allocations: 0 / 380.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.07093, allocations: 1.706 MB / 381.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.071, allocations: 83.2 kB / 381.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.07106, allocations: 16 kB / 381.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.07135, allocations: 43.97 kB / 381.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.0715, allocations: 80.83 kB / 382 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.07155, allocations: 28 kB / 382.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.07175, allocations: 299 kB / 382.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07175, allocations: 0 / 382.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007108/0.07246, allocations: 339.8 kB / 382.7 MB, free: 14.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000213/0.07268, allocations: 139.2 kB / 382.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.07521, allocations: 1.493 MB / 384.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.07521, allocations: 7.906 kB / 384.3 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.07681, allocations: 1.088 MB / 385.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.0772, allocations: 85.89 kB / 385.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.079, allocations: 1.236 MB / 386.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.07914, allocations: 174.4 kB / 386.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.07933, allocations: 84.86 kB / 387 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.07943, allocations: 64.47 kB / 387 MB, free: 10.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.07944, allocations: 0 / 387 MB, free: 10.12 MB / 314.7 MB Notification: Performance of Templates: time 0.02759/0.107, allocations: 22.78 MB / 409.8 MB, free: 3.469 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.511306137079373]