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/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.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.001785/0.001786, allocations: 101.5 kB / 16.02 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.001603/0.001604, allocations: 197.9 kB / 16.95 MB, free: 6.102 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05213/0.05213, allocations: 8.098 MB / 298.9 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.89 kB / 361.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2314, allocations: 51.52 MB / 412.7 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003758/0.2352, allocations: 3.616 MB / 416.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2367, allocations: 0.9573 MB / 417.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2369, allocations: 8 kB / 417.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.2373, allocations: 143.4 kB / 417.5 MB, free: 21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.2377, allocations: 222.8 kB / 417.7 MB, free: 20.79 MB / 302.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.001608/0.2393, allocations: 1.171 MB / 418.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.2398, allocations: 493.6 kB / 419.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.24, allocations: 170.3 kB / 419.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2402, allocations: 199.3 kB / 419.7 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.2404, allocations: 278.8 kB / 420 MB, free: 18.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.2405, allocations: 36 kB / 420 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.2408, allocations: 287.8 kB / 420.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.2409, allocations: 91.61 kB / 420.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.241, allocations: 242.8 kB / 420.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.2416, allocations: 0.6542 MB / 421.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2416, allocations: 4 kB / 421.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2416, allocations: 0 / 421.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2416, allocations: 0 / 421.3 MB, free: 17.18 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.004271/0.2459, allocations: 1.377 MB / 422.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2459, allocations: 8.031 kB / 422.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.246, allocations: 52.38 kB / 422.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.2464, allocations: 343.4 kB / 423 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.2464, allocations: 63.27 kB / 423.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.2465, allocations: 40.31 kB / 423.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.2472, allocations: 0.5728 MB / 423.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2472, allocations: 3.938 kB / 423.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.2473, allocations: 23.92 kB / 423.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2473, allocations: 8 kB / 423.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.2479, allocations: 0.5154 MB / 424.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.25, allocations: 2.246 MB / 426.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.251, allocations: 0.7376 MB / 427.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.2514, allocations: 358.5 kB / 427.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.2514, allocations: 16.55 kB / 427.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.252, allocations: 415 kB / 428 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.252, allocations: 0 / 428 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006569/0.2586, allocations: 2.104 MB / 430.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2587, allocations: 85.67 kB / 430.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.259, allocations: 278.9 kB / 430.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.259, allocations: 45.69 kB / 430.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.2591, allocations: 177.5 kB / 430.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.2592, allocations: 212.9 kB / 430.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.2594, allocations: 126.7 kB / 431 MB, free: 6.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.2595, allocations: 346.8 kB / 431.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.2599, allocations: 333.9 kB / 431.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.2604, allocations: 405.9 kB / 432.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.2613, allocations: 0.754 MB / 432.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2613, allocations: 3.938 kB / 432.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002937/0.2642, allocations: 1.36 MB / 434.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2642, allocations: 4 kB / 434.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2642, allocations: 4 kB / 434.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/0.2672, allocations: 0.6728 MB / 434.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.2676, allocations: 103.9 kB / 435 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006109/0.2737, allocations: 4.341 MB / 439.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.2741, allocations: 63.36 kB / 439.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.2742, allocations: 27.92 kB / 439.4 MB, free: 14.4 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.0002217/0.2744, allocations: 169.8 kB / 439.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.2745, allocations: 39.53 kB / 439.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.2779, allocations: 1.335 MB / 441 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2779, allocations: 7.938 kB / 441 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2779, allocations: 0 / 441 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2779, allocations: 3.984 kB / 441 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.282, allocations: 2.036 MB / 443 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.282, allocations: 0 / 443 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.2823, allocations: 75.91 kB / 443.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.2852, allocations: 0.6789 MB / 443.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.2853, allocations: 16 kB / 443.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.2917, allocations: 4.283 MB / 448.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2917, allocations: 0 / 448.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.295, allocations: 1.331 MB / 449.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.2951, allocations: 132.3 kB / 449.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.2952, allocations: 8 kB / 449.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.2956, allocations: 31.98 kB / 449.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.2957, allocations: 60.36 kB / 449.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.2958, allocations: 20 kB / 449.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.296, allocations: 197.9 kB / 449.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.296, allocations: 0 / 449.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006458/0.2966, allocations: 211.8 kB / 450 MB, free: 3.523 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.0002111/0.2968, allocations: 123.2 kB / 450.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.2994, allocations: 1.182 MB / 451.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2994, allocations: 0 / 451.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.301, allocations: 0.7437 MB / 452.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3014, allocations: 40.64 kB / 452.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3028, allocations: 1.071 MB / 453.2 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3032, allocations: 0.8298 MB / 454 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.3034, allocations: 59.22 kB / 454.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.3035, allocations: 47.42 kB / 454.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3035, allocations: 0 / 454.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01606/0.3196, allocations: 12.62 MB / 466.7 MB, free: 2.762 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)