Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.BreakerTests.Islanding2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2") translateModel(PowerSysPro.Examples.BreakerTests.Islanding2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001303, allocations: 105.6 kB / 16.03 MB, free: 6.312 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.001408/0.001408, allocations: 191.1 kB / 16.95 MB, free: 6.137 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.46/1.46, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05918/0.05918, allocations: 8.102 MB / 298.9 MB, free: 6.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 55.91 kB / 361.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2914, allocations: 51.52 MB / 412.7 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003931/0.2954, allocations: 4.122 MB / 416.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2971, allocations: 1.058 MB / 417.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2973, allocations: 8 kB / 417.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.2978, allocations: 163.2 kB / 418.1 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.2984, allocations: 274.5 kB / 418.3 MB, free: 20.13 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3, allocations: 1.194 MB / 419.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.3006, allocations: 0.6065 MB / 420.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.3009, allocations: 223.3 kB / 420.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3011, allocations: 263 kB / 420.6 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.3014, allocations: 346.6 kB / 421 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.3014, allocations: 48 kB / 421 MB, free: 17.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.3018, allocations: 287.8 kB / 421.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.3019, allocations: 119.5 kB / 421.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.3021, allocations: 302.5 kB / 421.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.3027, allocations: 0.7788 MB / 422.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3027, allocations: 0 / 422.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3027, allocations: 4 kB / 422.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3027, allocations: 7.938 kB / 422.5 MB, free: 15.98 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.005057/0.3078, allocations: 1.622 MB / 424.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3078, allocations: 8.031 kB / 424.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.308, allocations: 72.17 kB / 424.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.3084, allocations: 399.8 kB / 424.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.3085, allocations: 71.45 kB / 424.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.3086, allocations: 48.38 kB / 424.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.3095, allocations: 0.6934 MB / 425.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3095, allocations: 0 / 425.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.3096, allocations: 16 kB / 425.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3096, allocations: 12 kB / 425.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008154/0.3104, allocations: 0.6404 MB / 426.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.3132, allocations: 2.712 MB / 428.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3144, allocations: 1.058 MB / 429.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.3148, allocations: 446.7 kB / 430.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.3149, allocations: 20.62 kB / 430.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/0.3156, allocations: 0.4963 MB / 430.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.976e-06/0.3157, allocations: 3.984 kB / 430.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007936/0.3236, allocations: 2.649 MB / 433.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.3237, allocations: 85.7 kB / 433.5 MB, free: 4.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3241, allocations: 341.5 kB / 433.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.3242, allocations: 49.64 kB / 433.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3243, allocations: 201.3 kB / 434.1 MB, free: 3.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.3244, allocations: 248.2 kB / 434.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.3246, allocations: 150.6 kB / 434.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.3247, allocations: 358.8 kB / 434.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.3252, allocations: 421.9 kB / 435.3 MB, free: 2.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.3257, allocations: 486.3 kB / 435.7 MB, free: 2.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3268, allocations: 0.9404 MB / 436.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3268, allocations: 0 / 436.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004616/0.3314, allocations: 1.731 MB / 438.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3315, allocations: 4 kB / 438.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3315, allocations: 3.938 kB / 438.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/0.3359, allocations: 1.074 MB / 439.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.3365, allocations: 123.8 kB / 439.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009429/0.346, allocations: 5.336 MB / 444.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009594/0.3469, allocations: 71.2 kB / 445 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.347, allocations: 31.98 kB / 445 MB, free: 8.723 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.3474, allocations: 193.6 kB / 445.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3475, allocations: 59.28 kB / 445.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.352, allocations: 1.706 MB / 447 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3521, allocations: 12 kB / 447 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.3521, allocations: 3.938 kB / 447 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.3521, allocations: 3.984 kB / 447 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.3576, allocations: 2.532 MB / 449.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3576, allocations: 4 kB / 449.5 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.3579, allocations: 95.89 kB / 449.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/0.3619, allocations: 0.9608 MB / 450.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/0.362, allocations: 16 kB / 450.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/0.3709, allocations: 5.266 MB / 455.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3709, allocations: 0 / 455.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.3751, allocations: 1.675 MB / 457.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3752, allocations: 140.2 kB / 457.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.3753, allocations: 15.94 kB / 457.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.3758, allocations: 39.97 kB / 457.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3761, allocations: 72.89 kB / 457.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.3761, allocations: 20 kB / 457.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.3764, allocations: 235.2 kB / 458.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3764, allocations: 0 / 458.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008882/0.3773, allocations: 259.8 kB / 458.3 MB, free: 11.16 MB / 334.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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002656/0.3776, allocations: 131.1 kB / 458.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.3811, allocations: 1.534 MB / 460 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.3811, allocations: 3.938 kB / 460 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.3834, allocations: 0.9847 MB / 461 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.3839, allocations: 61.36 kB / 461 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3861, allocations: 1.325 MB / 462.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3866, allocations: 0.8697 MB / 463.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.3868, allocations: 84.3 kB / 463.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.387, allocations: 55.41 kB / 463.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.387, allocations: 0 / 463.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of Templates: time 0.0246/0.4116, allocations: 15.76 MB / 479.1 MB, free: 6.336 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)