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-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.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.001289/0.001289, allocations: 105 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.001218/0.001218, 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05112/0.05112, allocations: 8.1 MB / 300 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 363.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2159, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004005/0.22, allocations: 4.103 MB / 418.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2215, allocations: 1.078 MB / 419.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2217, allocations: 8 kB / 419.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.222, allocations: 194.8 kB / 420.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.2225, allocations: 310 kB / 420.4 MB, free: 19.74 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.001702/0.2242, allocations: 1.267 MB / 421.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.2248, allocations: 0.6181 MB / 422.3 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.2251, allocations: 227.2 kB / 422.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2253, allocations: 259 kB / 422.7 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.2256, allocations: 342.6 kB / 423.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.128e-05/0.2257, allocations: 48 kB / 423.1 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.2263, allocations: 287.8 kB / 423.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2264, allocations: 127.5 kB / 423.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.2267, allocations: 298.5 kB / 423.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008552/0.2276, allocations: 0.7864 MB / 424.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2276, allocations: 0 / 424.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2276, allocations: 0 / 424.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2276, allocations: 4 kB / 424.6 MB, free: 15.5 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.005298/0.2329, allocations: 1.63 MB / 426.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.233, allocations: 11.89 kB / 426.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2331, allocations: 68.19 kB / 426.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.2335, allocations: 399.8 kB / 426.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.2336, allocations: 71.45 kB / 426.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.2337, allocations: 48.38 kB / 426.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.2346, allocations: 0.6857 MB / 427.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2346, allocations: 4 kB / 427.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.2346, allocations: 20 kB / 427.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2347, allocations: 8 kB / 427.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2358, allocations: 0.6404 MB / 428.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.2385, allocations: 2.709 MB / 430.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.2398, allocations: 1.05 MB / 431.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.2403, allocations: 446.7 kB / 432.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.765e-05/0.2404, allocations: 24.62 kB / 432.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007191/0.2411, allocations: 0.5041 MB / 432.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.2411, allocations: 0 / 432.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007815/0.2489, allocations: 2.646 MB / 435.5 MB, free: 4.066 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.249, allocations: 89.7 kB / 435.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2493, allocations: 337.5 kB / 436 MB, free: 3.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.2493, allocations: 45.7 kB / 436 MB, free: 3.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.2494, allocations: 197.3 kB / 436.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.2496, allocations: 252.2 kB / 436.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.2498, allocations: 150.6 kB / 436.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.2499, allocations: 358.8 kB / 436.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.2504, allocations: 417.9 kB / 437.3 MB, free: 2.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.251, allocations: 494.2 kB / 437.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2521, allocations: 0.9365 MB / 438.8 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2521, allocations: 3.938 kB / 438.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003908/0.256, allocations: 1.727 MB / 440.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.256, allocations: 4 kB / 440.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.256, allocations: 4 kB / 440.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/0.2601, allocations: 1.078 MB / 441.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.2606, allocations: 123.8 kB / 441.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008816/0.2694, allocations: 5.31 MB / 447 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.27, allocations: 75.22 kB / 447.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.2701, allocations: 27.98 kB / 447.1 MB, free: 8.266 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.000361/0.2705, allocations: 185.7 kB / 447.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2706, allocations: 55.28 kB / 447.4 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/0.2749, allocations: 1.714 MB / 449.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2749, allocations: 15.94 kB / 449.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2749, allocations: 3.938 kB / 449.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2749, allocations: 7.984 kB / 449.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/0.2799, allocations: 2.525 MB / 451.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2799, allocations: 0 / 451.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.2802, allocations: 99.89 kB / 451.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/0.2841, allocations: 0.9573 MB / 452.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.2842, allocations: 23.98 kB / 452.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008984/0.2932, allocations: 5.252 MB / 457.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2932, allocations: 0 / 457.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.2973, allocations: 1.677 MB / 459.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.2975, allocations: 144.2 kB / 459.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.2976, allocations: 15.94 kB / 459.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.298, allocations: 31.98 kB / 459.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.2982, allocations: 76.83 kB / 459.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.2983, allocations: 23.98 kB / 459.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.2986, allocations: 239.2 kB / 460.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2986, allocations: 0 / 460.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000807/0.2994, allocations: 255.8 kB / 460.4 MB, free: 10.71 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.0002724/0.2997, allocations: 135 kB / 460.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003326/0.303, allocations: 1.503 MB / 462 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.303, allocations: 4.125 kB / 462 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.3053, allocations: 0.9884 MB / 463 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.3059, allocations: 67.28 kB / 463.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3077, allocations: 1.095 MB / 464.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3081, allocations: 0.8658 MB / 465 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3084, allocations: 84.3 kB / 465.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3085, allocations: 55.41 kB / 465.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3085, allocations: 4 kB / 465.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of Templates: time 0.02226/0.3308, allocations: 15.79 MB / 481 MB, free: 6.102 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)