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.001029/0.001029, allocations: 96.08 kB / 16.06 MB, free: 40 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.001092/0.001092, allocations: 185.7 kB / 16.96 MB, free: 6.871 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1774/0.1774, allocations: 8.086 MB / 300.2 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 12 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1801, allocations: 52.51 MB / 416 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.006035/0.1862, allocations: 3.73 MB / 419.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1896, allocations: 1.059 MB / 420.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.1904, allocations: 12 kB / 420.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009403/0.1913, allocations: 163.2 kB / 421 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.1929, allocations: 270.5 kB / 421.2 MB, free: 3.141 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.003463/0.1964, allocations: 1.195 MB / 422.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.198, allocations: 0.5908 MB / 423 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.1986, allocations: 190 kB / 423.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.1992, allocations: 235 kB / 423.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009346/0.2002, allocations: 306.7 kB / 423.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.2004, allocations: 31.94 kB / 423.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.2019, allocations: 259.7 kB / 424 MB, free: 348 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.2022, allocations: 99.53 kB / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2548/0.457, allocations: 287.9 kB / 424.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.4586, allocations: 0.7455 MB / 425.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4586, allocations: 3.156 kB / 425.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4586, allocations: 0 / 425.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4586, allocations: 0 / 425.1 MB, free: 35.82 MB / 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.005521/0.4641, allocations: 1.541 MB / 426.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4642, allocations: 10.94 kB / 426.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.4644, allocations: 63.94 kB / 426.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.4648, allocations: 404.6 kB / 427.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.4649, allocations: 66.08 kB / 427.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.465, allocations: 53.94 kB / 427.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009838/0.466, allocations: 0.6951 MB / 428 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.466, allocations: 0 / 428 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.4661, allocations: 22.34 kB / 428 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.4661, allocations: 9.875 kB / 428 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008848/0.467, allocations: 0.6379 MB / 428.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.4702, allocations: 2.721 MB / 431.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4716, allocations: 1.062 MB / 432.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.4721, allocations: 452.9 kB / 432.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/0.4722, allocations: 20.03 kB / 432.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007796/0.473, allocations: 0.5005 MB / 433.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.464e-06/0.473, allocations: 0 / 433.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.008393/0.4814, allocations: 2.634 MB / 436 MB, free: 32.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.4815, allocations: 91.2 kB / 436.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.4819, allocations: 342.5 kB / 436.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.156e-05/0.482, allocations: 50.83 kB / 436.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.4821, allocations: 189.2 kB / 436.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.4823, allocations: 252.9 kB / 436.9 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4824, allocations: 81.78 kB / 437 MB, free: 32.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.4825, allocations: 357.2 kB / 437.3 MB, free: 32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.4831, allocations: 420.6 kB / 437.8 MB, free: 32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.4837, allocations: 495.3 kB / 438.2 MB, free: 31.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4849, allocations: 0.9411 MB / 439.2 MB, free: 31.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4849, allocations: 0 / 439.2 MB, free: 31.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004002/0.4889, allocations: 1.725 MB / 440.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.489, allocations: 6.062 kB / 440.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.489, allocations: 0 / 440.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/0.4931, allocations: 1.084 MB / 442 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.4936, allocations: 125.4 kB / 442.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008191/0.5018, allocations: 4.892 MB / 447 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/0.5026, allocations: 68.41 kB / 447.1 MB, free: 27.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.5027, allocations: 33.39 kB / 447.1 MB, free: 27.36 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 (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.0002759/0.503, allocations: 187.1 kB / 447.3 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.503, allocations: 48.69 kB / 447.3 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.5072, allocations: 1.721 MB / 449.1 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.5072, allocations: 9.594 kB / 449.1 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5072, allocations: 0 / 449.1 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5072, allocations: 3.328 kB / 449.1 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/0.5119, allocations: 2.539 MB / 451.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5119, allocations: 3.125 kB / 451.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.5122, allocations: 96.19 kB / 451.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003775/0.516, allocations: 0.9676 MB / 452.7 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/0.5161, allocations: 14.81 kB / 452.7 MB, free: 25.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007656/0.5238, allocations: 4.81 MB / 457.5 MB, free: 22.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5238, allocations: 0 / 457.5 MB, free: 22.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/0.5278, allocations: 1.686 MB / 459.2 MB, free: 21.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.528, allocations: 141.7 kB / 459.3 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.5281, allocations: 14.88 kB / 459.3 MB, free: 21.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.5286, allocations: 44.81 kB / 459.4 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.5287, allocations: 60.8 kB / 459.4 MB, free: 21.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.5288, allocations: 26.62 kB / 459.5 MB, free: 21.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.5291, allocations: 240.1 kB / 459.7 MB, free: 20.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5291, allocations: 0 / 459.7 MB, free: 20.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007899/0.5299, allocations: 259.1 kB / 460 MB, free: 20.95 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 (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.000242/0.5301, allocations: 132.3 kB / 460.1 MB, free: 20.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.5333, allocations: 1.464 MB / 461.5 MB, free: 20.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5333, allocations: 1.156 kB / 461.6 MB, free: 20.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.5356, allocations: 0.9667 MB / 462.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.5362, allocations: 60.58 kB / 462.6 MB, free: 19.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5381, allocations: 1.342 MB / 463.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.5384, allocations: 0.8696 MB / 464.8 MB, free: 18.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.5387, allocations: 78.27 kB / 464.9 MB, free: 18.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.5388, allocations: 50.36 kB / 464.9 MB, free: 18.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.714e-06/0.5388, allocations: 0 / 464.9 MB, free: 18.17 MB / 350.1 MB Notification: Performance of Templates: time 0.02773/0.5666, allocations: 14.5 MB / 479.4 MB, free: 15.61 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: