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.001167/0.001167, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001783, allocations: 174.1 kB / 16.62 MB, free: 6.43 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.467/1.467, allocations: 223.3 MB / 240.7 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2572/0.2572, allocations: 8.084 MB / 299.8 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002842, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1087, allocations: 52.51 MB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005004/0.1137, allocations: 3.534 MB / 418.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.1171, allocations: 0.9811 MB / 419.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.1176, allocations: 8 kB / 419.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.1182, allocations: 131.3 kB / 420 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009988/0.1193, allocations: 262.5 kB / 420.3 MB, free: 3.785 MB / 350.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.002066/0.1214, allocations: 1.028 MB / 421.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009257/0.1223, allocations: 0.5518 MB / 421.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.1226, allocations: 164.9 kB / 422 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.1228, allocations: 219.1 kB / 422.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.1232, allocations: 306.7 kB / 422.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.1233, allocations: 28 kB / 422.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.1239, allocations: 247.8 kB / 422.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.124, allocations: 103.5 kB / 422.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1241, allocations: 125.5 kB / 423 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.1247, allocations: 0.5493 MB / 423.6 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1247, allocations: 4 kB / 423.6 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1248, allocations: 3.938 kB / 423.6 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1248, allocations: 0 / 423.6 MB, free: 472 kB / 350.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.2618/0.3866, allocations: 1.546 MB / 425.1 MB, free: 40.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3867, allocations: 9.688 kB / 425.1 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.3869, allocations: 67.14 kB / 425.2 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3875, allocations: 382.6 kB / 425.6 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.3876, allocations: 77.06 kB / 425.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.3877, allocations: 49.47 kB / 425.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3887, allocations: 0.6817 MB / 426.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3887, allocations: 1.312 kB / 426.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.3888, allocations: 22.47 kB / 426.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3888, allocations: 13.23 kB / 426.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.3897, allocations: 0.633 MB / 427.1 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.3924, allocations: 2.728 MB / 429.8 MB, free: 39.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.3938, allocations: 1.06 MB / 430.8 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.3944, allocations: 451.7 kB / 431.3 MB, free: 38.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.755e-05/0.3945, allocations: 19.8 kB / 431.3 MB, free: 38.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007114/0.3952, allocations: 0.4953 MB / 431.8 MB, free: 38.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.374e-06/0.3952, allocations: 0 / 431.8 MB, free: 38.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007474/0.4027, allocations: 2.621 MB / 434.4 MB, free: 38.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4028, allocations: 84.23 kB / 434.5 MB, free: 38.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.4031, allocations: 337.3 kB / 434.8 MB, free: 37.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.4032, allocations: 40.98 kB / 434.9 MB, free: 37.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4033, allocations: 204.5 kB / 435.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.4035, allocations: 254.5 kB / 435.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.4035, allocations: 23.06 kB / 435.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.4036, allocations: 357.2 kB / 435.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.4041, allocations: 413.9 kB / 436.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.4047, allocations: 493 kB / 436.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.4053, allocations: 462.1 kB / 437 MB, free: 36.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4053, allocations: 0 / 437 MB, free: 36.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003616/0.409, allocations: 1.729 MB / 438.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.409, allocations: 8.344 kB / 438.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.409, allocations: 3.328 kB / 438.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/0.4126, allocations: 1.075 MB / 439.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.4131, allocations: 121.3 kB / 440 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.4208, allocations: 4.877 MB / 444.8 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.4216, allocations: 77.66 kB / 444.9 MB, free: 32.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.4216, allocations: 22.84 kB / 444.9 MB, free: 32.38 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.422, allocations: 191.3 kB / 445.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4221, allocations: 48.59 kB / 445.2 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.4259, allocations: 1.721 MB / 446.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.426, allocations: 9.781 kB / 446.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.426, allocations: 0 / 446.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.426, allocations: 3.422 kB / 446.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.4307, allocations: 2.526 MB / 449.4 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4307, allocations: 0 / 449.4 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.431, allocations: 90.95 kB / 449.5 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003362/0.4344, allocations: 0.9664 MB / 450.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.4345, allocations: 23.41 kB / 450.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00719/0.4417, allocations: 4.8 MB / 455.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4417, allocations: 0 / 455.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.4454, allocations: 1.681 MB / 457 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.4456, allocations: 141.4 kB / 457.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.4457, allocations: 11.03 kB / 457.1 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.4461, allocations: 46.88 kB / 457.2 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.4463, allocations: 67.39 kB / 457.2 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.4464, allocations: 26.66 kB / 457.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.4466, allocations: 238.7 kB / 457.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4467, allocations: 0 / 457.5 MB, free: 25.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008674/0.4475, allocations: 263.5 kB / 457.8 MB, free: 25.86 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.4478, allocations: 132.9 kB / 457.9 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002894/0.4507, allocations: 1.467 MB / 459.4 MB, free: 25.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4507, allocations: 0 / 459.4 MB, free: 25.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.4526, allocations: 0.9484 MB / 460.3 MB, free: 24.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.4532, allocations: 59.5 kB / 460.4 MB, free: 24.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.455, allocations: 1.296 MB / 461.7 MB, free: 23.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4553, allocations: 0.8717 MB / 462.5 MB, free: 23.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.4556, allocations: 76.88 kB / 462.6 MB, free: 23.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4557, allocations: 49.78 kB / 462.7 MB, free: 23.1 MB / 350.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4557, allocations: 0 / 462.7 MB, free: 23.1 MB / 350.1 MB Notification: Performance of Templates: time 0.02621/0.4819, allocations: 14.07 MB / 476.7 MB, free: 20.69 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: