Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 107.5 kB / 17.07 MB, free: 5.68 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.001591/0.001591, allocations: 196 kB / 18.01 MB, free: 5.02 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.483/1.483, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05022/0.05022, allocations: 8.098 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003711/0.2507, allocations: 3.597 MB / 418.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2522, allocations: 0.9728 MB / 419.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2523, allocations: 8 kB / 419.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.2527, allocations: 167 kB / 419.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.2532, allocations: 246.4 kB / 419.7 MB, free: 20.45 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001703/0.2549, allocations: 1.253 MB / 420.9 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.2554, allocations: 497.6 kB / 421.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.2557, allocations: 172.1 kB / 421.6 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2558, allocations: 203.3 kB / 421.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.2561, allocations: 274.8 kB / 422 MB, free: 18.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.2561, allocations: 40 kB / 422.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.2566, allocations: 271.8 kB / 422.4 MB, free: 17.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.2566, allocations: 99.59 kB / 422.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2568, allocations: 238.8 kB / 422.7 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.2574, allocations: 0.6678 MB / 423.4 MB, free: 16.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2574, allocations: 0 / 423.4 MB, free: 16.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2574, allocations: 0 / 423.4 MB, free: 16.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2574, allocations: 0 / 423.4 MB, free: 16.76 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004295/0.2617, allocations: 1.377 MB / 424.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.2618, allocations: 15.89 kB / 424.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.2619, allocations: 52.38 kB / 424.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.2624, allocations: 339.4 kB / 425.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.2625, allocations: 63.27 kB / 425.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.2625, allocations: 40.38 kB / 425.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.2633, allocations: 0.5689 MB / 425.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2633, allocations: 11.88 kB / 425.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.2634, allocations: 19.94 kB / 425.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.2634, allocations: 12 kB / 425.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.2641, allocations: 0.5076 MB / 426.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.2663, allocations: 2.238 MB / 428.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.2672, allocations: 0.7415 MB / 429.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.2676, allocations: 354.5 kB / 429.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/0.2677, allocations: 20.53 kB / 429.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.2684, allocations: 415 kB / 430.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.555e-06/0.2684, allocations: 0 / 430.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006294/0.2747, allocations: 2.096 MB / 432.2 MB, free: 7.504 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2748, allocations: 85.67 kB / 432.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.275, allocations: 282.8 kB / 432.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.275, allocations: 41.7 kB / 432.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.2751, allocations: 177.5 kB / 432.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.2752, allocations: 208.9 kB / 433 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2754, allocations: 126.7 kB / 433.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.2755, allocations: 346.8 kB / 433.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.2759, allocations: 345.8 kB / 433.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.2763, allocations: 398 kB / 434.2 MB, free: 5.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.2772, allocations: 0.7579 MB / 434.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2772, allocations: 4 kB / 434.9 MB, free: 4.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002853/0.2801, allocations: 1.356 MB / 436.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2801, allocations: 8 kB / 436.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2801, allocations: 0 / 436.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.283, allocations: 0.6815 MB / 437 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.2834, allocations: 99.89 kB / 437.1 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006262/0.2897, allocations: 4.333 MB / 441.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.2901, allocations: 59.38 kB / 441.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.2902, allocations: 23.98 kB / 441.5 MB, free: 14 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 (62): * Single equations (assignments): 61 * 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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.2905, allocations: 165.8 kB / 441.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.2905, allocations: 43.47 kB / 441.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.2939, allocations: 1.339 MB / 443 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.294, allocations: 7.938 kB / 443 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.294, allocations: 4 kB / 443 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.294, allocations: 3.984 kB / 443 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.2979, allocations: 2.037 MB / 445.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2979, allocations: 0 / 445.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.2982, allocations: 79.89 kB / 445.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/0.3011, allocations: 0.6707 MB / 445.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.3012, allocations: 16 kB / 445.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/0.308, allocations: 4.272 MB / 450.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.308, allocations: 4 kB / 450.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.3112, allocations: 1.329 MB / 451.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3113, allocations: 128.4 kB / 451.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.3114, allocations: 16 kB / 451.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.3118, allocations: 39.91 kB / 451.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.312, allocations: 52.38 kB / 451.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.312, allocations: 23.98 kB / 451.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3123, allocations: 194 kB / 451.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3123, allocations: 0 / 451.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.3129, allocations: 211.8 kB / 452.1 MB, free: 3.117 MB / 318.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 (49): * Single equations (assignments): 48 * 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002492/0.3132, allocations: 134.5 kB / 452.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.3156, allocations: 1.155 MB / 453.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3156, allocations: 4.125 kB / 453.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.3171, allocations: 0.7319 MB / 454.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3176, allocations: 44.64 kB / 454.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.319, allocations: 0.8842 MB / 455 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3193, allocations: 0.8298 MB / 455.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.3196, allocations: 63.22 kB / 455.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3197, allocations: 43.36 kB / 456 MB, free: 15.15 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3197, allocations: 0 / 456 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Templates: time 0.01838/0.338, allocations: 12.67 MB / 468.7 MB, free: 2.516 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)