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.0008421/0.0008422, allocations: 94.88 kB / 16.71 MB, free: 6.637 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.0009124/0.0009126, allocations: 185.1 kB / 17.62 MB, free: 6.16 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.318/1.318, allocations: 223.3 MB / 241.7 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.03993/0.03993, allocations: 8.102 MB / 300.9 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 8 kB / 364.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 52.51 MB / 416.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003017/0.2257, allocations: 3.732 MB / 420.4 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2275, allocations: 1.051 MB / 421.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.2278, allocations: 8 kB / 421.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.2282, allocations: 167.2 kB / 421.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.2288, allocations: 266.5 kB / 421.9 MB, free: 19.63 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.001815/0.2306, allocations: 1.203 MB / 423.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.2313, allocations: 0.587 MB / 423.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.2315, allocations: 191.7 kB / 423.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2317, allocations: 231 kB / 424.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.2321, allocations: 310.6 kB / 424.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.2321, allocations: 31.94 kB / 424.4 MB, free: 17.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.2327, allocations: 255.8 kB / 424.7 MB, free: 16.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.2328, allocations: 103.5 kB / 424.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.233, allocations: 296.2 kB / 425.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.2335, allocations: 0.5649 MB / 425.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2335, allocations: 0 / 425.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2335, allocations: 0 / 425.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.2335, allocations: 0 / 425.6 MB, free: 15.87 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.00534/0.2389, allocations: 1.537 MB / 427.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2389, allocations: 11.97 kB / 427.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.2391, allocations: 64.28 kB / 427.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.2396, allocations: 407.6 kB / 427.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.2396, allocations: 63.45 kB / 427.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.2397, allocations: 60.36 kB / 427.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/0.2407, allocations: 0.6857 MB / 428.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2407, allocations: 4 kB / 428.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.2408, allocations: 16 kB / 428.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2408, allocations: 12 kB / 428.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.2416, allocations: 0.6442 MB / 429.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.2445, allocations: 2.724 MB / 431.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.2457, allocations: 1.054 MB / 432.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.2463, allocations: 450.7 kB / 433.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.2464, allocations: 24.61 kB / 433.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007026/0.2471, allocations: 0.5002 MB / 433.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.356e-06/0.2471, allocations: 0 / 433.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008492/0.2556, allocations: 2.63 MB / 436.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2557, allocations: 97.7 kB / 436.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.256, allocations: 341.4 kB / 436.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.2562, allocations: 45.7 kB / 437 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.2563, allocations: 197.3 kB / 437.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.2564, allocations: 256.2 kB / 437.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.2565, allocations: 73.67 kB / 437.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.2566, allocations: 358.8 kB / 437.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.2572, allocations: 417.9 kB / 438.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.2578, allocations: 0.4943 MB / 438.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2589, allocations: 0.9288 MB / 439.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2589, allocations: 0 / 439.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004203/0.2631, allocations: 1.735 MB / 441.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.2632, allocations: 4 kB / 441.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2632, allocations: 3.938 kB / 441.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004369/0.2676, allocations: 1.082 MB / 442.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.2682, allocations: 123.8 kB / 442.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.2784, allocations: 4.885 MB / 447.5 MB, free: 9.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.2791, allocations: 75.19 kB / 447.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2793, allocations: 28 kB / 447.6 MB, free: 9.191 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.0003677/0.2796, allocations: 181.8 kB / 447.8 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2798, allocations: 51.42 kB / 447.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/0.2846, allocations: 1.722 MB / 449.5 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.2846, allocations: 12 kB / 449.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2846, allocations: 0 / 449.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.2847, allocations: 3.984 kB / 449.5 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.2902, allocations: 2.536 MB / 452.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.2902, allocations: 0 / 452.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.2906, allocations: 95.83 kB / 452.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/0.2949, allocations: 0.9727 MB / 453.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/0.295, allocations: 15.94 kB / 453.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009235/0.3043, allocations: 4.8 MB / 458 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3043, allocations: 0 / 458 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004472/0.3088, allocations: 1.694 MB / 459.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3089, allocations: 132.3 kB / 459.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.3091, allocations: 20 kB / 459.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.3096, allocations: 47.47 kB / 459.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.3098, allocations: 64.91 kB / 459.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.3099, allocations: 24 kB / 459.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002739/0.3102, allocations: 231.2 kB / 460.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3102, allocations: 0 / 460.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008779/0.3111, allocations: 267.8 kB / 460.4 MB, free: 12.08 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.0002522/0.3113, allocations: 131.1 kB / 460.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.3148, allocations: 1.483 MB / 462 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3149, allocations: 0 / 462 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.3173, allocations: 0.9573 MB / 463 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.3179, allocations: 56.8 kB / 463.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3199, allocations: 1.377 MB / 464.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3203, allocations: 0.874 MB / 465.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3205, allocations: 59.41 kB / 465.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3205, allocations: 0 / 465.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of Templates: time 0.01592/0.3365, allocations: 10.89 MB / 476.3 MB, free: 12.18 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)