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.001531/0.001531, allocations: 103.2 kB / 16.57 MB, free: 6.262 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.001495/0.001495, allocations: 194.7 kB / 17.49 MB, free: 5.875 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.452/1.452, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04596/0.04596, allocations: 8.094 MB / 299.4 MB, free: 6.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 361.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.217, allocations: 51.51 MB / 413.2 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003685/0.2208, allocations: 3.626 MB / 416.8 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2222, allocations: 0.9691 MB / 417.8 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2224, allocations: 8 kB / 417.8 MB, free: 21.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.2227, allocations: 147.3 kB / 417.9 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.2232, allocations: 222.8 kB / 418.2 MB, free: 20.83 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.001646/0.2248, allocations: 1.207 MB / 419.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2252, allocations: 481.6 kB / 419.8 MB, free: 19.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2254, allocations: 142.7 kB / 420 MB, free: 19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.2256, allocations: 195.3 kB / 420.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2258, allocations: 262.9 kB / 420.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.2259, allocations: 28 kB / 420.5 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2263, allocations: 271.7 kB / 420.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.2263, allocations: 83.62 kB / 420.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.2265, allocations: 226.8 kB / 421 MB, free: 17.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.2269, allocations: 490.9 kB / 421.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2269, allocations: 4 kB / 421.5 MB, free: 17.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2269, allocations: 0 / 421.5 MB, free: 17.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2269, allocations: 4 kB / 421.5 MB, free: 17.47 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.004389/0.2313, allocations: 1.377 MB / 422.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2314, allocations: 12.02 kB / 422.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2315, allocations: 52.38 kB / 422.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.2318, allocations: 347.4 kB / 423.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.2319, allocations: 63.27 kB / 423.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.232, allocations: 40.38 kB / 423.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.2327, allocations: 0.565 MB / 424 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2328, allocations: 3.938 kB / 424 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.2328, allocations: 20 kB / 424 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2328, allocations: 8 kB / 424 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.2335, allocations: 0.5193 MB / 424.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.2356, allocations: 2.242 MB / 426.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.2366, allocations: 0.7453 MB / 427.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.237, allocations: 354.5 kB / 427.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-05/0.2371, allocations: 16.55 kB / 427.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/0.2377, allocations: 415 kB / 428.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 1.953e-06/0.2377, allocations: 4 kB / 428.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006425/0.2442, allocations: 2.104 MB / 430.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2442, allocations: 85.61 kB / 430.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.2445, allocations: 282.9 kB / 430.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.2445, allocations: 41.7 kB / 430.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.2446, allocations: 177.5 kB / 430.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2447, allocations: 204.9 kB / 431.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.2449, allocations: 122.7 kB / 431.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.245, allocations: 354.8 kB / 431.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.2454, allocations: 333.9 kB / 431.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.2459, allocations: 413.9 kB / 432.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.2468, allocations: 0.7539 MB / 433.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2469, allocations: 0 / 433.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002977/0.2498, allocations: 1.36 MB / 434.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2499, allocations: 10.34 kB / 434.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2499, allocations: 7.922 kB / 434.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/0.2528, allocations: 0.6697 MB / 435.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.2532, allocations: 107.8 kB / 435.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005821/0.2591, allocations: 3.976 MB / 439.2 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.2595, allocations: 55.38 kB / 439.3 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.2596, allocations: 27.98 kB / 439.3 MB, free: 15.05 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.0002513/0.2599, allocations: 177.7 kB / 439.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.26, allocations: 43.53 kB / 439.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.2634, allocations: 1.32 MB / 440.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2634, allocations: 15.94 kB / 440.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2634, allocations: 0 / 440.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2634, allocations: 3.984 kB / 440.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.2674, allocations: 2.036 MB / 442.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2675, allocations: 0 / 442.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.2677, allocations: 75.91 kB / 443 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/0.2708, allocations: 0.6789 MB / 443.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.2708, allocations: 15.94 kB / 443.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006438/0.2773, allocations: 3.931 MB / 447.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2773, allocations: 0 / 447.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.2806, allocations: 1.339 MB / 448.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2807, allocations: 124.4 kB / 449.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.2808, allocations: 23.92 kB / 449.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.2812, allocations: 27.92 kB / 449.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.2813, allocations: 52.48 kB / 449.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.2814, allocations: 20 kB / 449.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.2816, allocations: 198 kB / 449.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2816, allocations: 0 / 449.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.2823, allocations: 215.8 kB / 449.6 MB, free: 4.512 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.0002232/0.2825, allocations: 127.2 kB / 449.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.2849, allocations: 1.147 MB / 450.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2849, allocations: 4 kB / 450.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.2865, allocations: 0.7204 MB / 451.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.287, allocations: 52.59 kB / 451.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2887, allocations: 1.098 MB / 452.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.289, allocations: 0.8261 MB / 453.5 MB, free: 472 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2892, allocations: 55.41 kB / 453.6 MB, free: 416 kB / 318.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2892, allocations: 0 / 453.6 MB, free: 416 kB / 318.1 MB Notification: Performance of Templates: time 0.0152/0.3044, allocations: 8.725 MB / 462.3 MB, free: 7.684 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)