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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 102.4 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05377/0.05377, allocations: 8.085 MB / 348.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 51.02 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1004, allocations: 51.51 MB / 462.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003815/0.1043, allocations: 4.132 MB / 466.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.106, allocations: 1.062 MB / 467.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1061, allocations: 8 kB / 467.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1065, allocations: 171.2 kB / 468 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.107, allocations: 270.5 kB / 468.2 MB, free: 420 kB / 298.7 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.001969/0.109, allocations: 1.225 MB / 469.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007197/0.1098, allocations: 0.5948 MB / 470.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.1101, allocations: 194 kB / 470.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.1103, allocations: 251 kB / 470.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.1107, allocations: 330.6 kB / 470.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.1108, allocations: 39.94 kB / 470.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/0.1114, allocations: 271.8 kB / 471.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1115, allocations: 107.5 kB / 471.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.1118, allocations: 290.5 kB / 471.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.1128, allocations: 0.7554 MB / 472.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1128, allocations: 0 / 472.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1128, allocations: 4 kB / 472.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1128, allocations: 3.938 kB / 472.3 MB, free: 12.36 MB / 314.7 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.00612/0.1189, allocations: 1.638 MB / 473.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.119, allocations: 8.031 kB / 473.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1192, allocations: 68.19 kB / 474 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.1197, allocations: 403.8 kB / 474.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.1198, allocations: 67.45 kB / 474.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/0.1199, allocations: 52.31 kB / 474.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.121, allocations: 0.6973 MB / 475.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.121, allocations: 0 / 475.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.1211, allocations: 16 kB / 475.2 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1211, allocations: 8 kB / 475.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1222, allocations: 0.6404 MB / 475.9 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.1257, allocations: 2.705 MB / 478.6 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.1272, allocations: 1.054 MB / 479.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.1278, allocations: 458.7 kB / 480.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.453e-05/0.1279, allocations: 20.61 kB / 480.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008595/0.1288, allocations: 0.4963 MB / 480.6 MB, free: 3.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.625e-06/0.1288, allocations: 0 / 480.6 MB, free: 3.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.009277/0.1381, allocations: 2.638 MB / 483.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.1382, allocations: 97.69 kB / 483.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.1386, allocations: 337.5 kB / 483.6 MB, free: 484 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.1387, allocations: 41.7 kB / 483.7 MB, free: 436 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1388, allocations: 205.2 kB / 483.9 MB, free: 228 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1995/0.3383, allocations: 246.1 kB / 484.1 MB, free: 28.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.3387, allocations: 149.3 kB / 484.3 MB, free: 28.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3389, allocations: 358.8 kB / 484.6 MB, free: 28.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.3396, allocations: 418.2 kB / 485 MB, free: 28.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.3403, allocations: 493 kB / 485.5 MB, free: 28.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.3417, allocations: 0.939 MB / 486.5 MB, free: 27.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.3417, allocations: 1.688 kB / 486.5 MB, free: 27.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004419/0.3462, allocations: 1.724 MB / 488.2 MB, free: 26.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3462, allocations: 4.844 kB / 488.2 MB, free: 26.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3462, allocations: 2.75 kB / 488.2 MB, free: 26.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/0.3504, allocations: 1.077 MB / 489.3 MB, free: 26.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.3509, allocations: 128.2 kB / 489.4 MB, free: 26.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008054/0.359, allocations: 4.893 MB / 494.3 MB, free: 23.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.3595, allocations: 70.12 kB / 494.4 MB, free: 23.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.3596, allocations: 30.28 kB / 494.4 MB, free: 23.69 MB / 314.7 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.0002368/0.3599, allocations: 191.4 kB / 494.6 MB, free: 23.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.3599, allocations: 52.36 kB / 494.6 MB, free: 23.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.3644, allocations: 1.715 MB / 496.3 MB, free: 22.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.3645, allocations: 9.469 kB / 496.3 MB, free: 22.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3645, allocations: 3.938 kB / 496.3 MB, free: 22.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.3645, allocations: 6.516 kB / 496.4 MB, free: 22.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.3696, allocations: 2.525 MB / 498.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3696, allocations: 0 / 498.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.37, allocations: 96.61 kB / 499 MB, free: 21.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/0.3741, allocations: 0.9562 MB / 499.9 MB, free: 21.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/0.3742, allocations: 16.62 kB / 499.9 MB, free: 21.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007954/0.3822, allocations: 4.82 MB / 0.4929 GB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3822, allocations: 7.938 kB / 0.4929 GB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.3875, allocations: 2.829 MB / 0.4957 GB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3877, allocations: 145 kB / 0.4958 GB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.3878, allocations: 14.41 kB / 0.4959 GB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.3882, allocations: 39.97 kB / 0.4959 GB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/0.3885, allocations: 71 kB / 0.496 GB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.3886, allocations: 20.31 kB / 0.496 GB, free: 16.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002845/0.3889, allocations: 236.5 kB / 0.4962 GB, free: 16.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3889, allocations: 0 / 0.4962 GB, free: 16.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001347/0.3902, allocations: 260.9 kB / 0.4965 GB, free: 16.12 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: 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.0003013/0.3906, allocations: 132.5 kB / 0.4966 GB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.3944, allocations: 1.473 MB / 0.498 GB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.3944, allocations: 6.469 kB / 0.498 GB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.3967, allocations: 0.9666 MB / 0.499 GB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3973, allocations: 53.44 kB / 0.499 GB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.3994, allocations: 1.742 MB / 0.5007 GB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3997, allocations: 0.8843 MB / 0.5016 GB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.4, allocations: 80.31 kB / 0.5017 GB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4002, allocations: 51.41 kB / 0.5017 GB, free: 11.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.203e-06/0.4002, allocations: 4 kB / 0.5017 GB, free: 11.7 MB / 314.7 MB Notification: Performance of Templates: time 0.01949/0.4197, allocations: 15.64 MB / 0.517 GB, free: 12.13 MB / 330.7 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)