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.001264/0.001264, allocations: 105.7 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.001303/0.001303, allocations: 194.9 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.386/1.386, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.07694/0.07694, allocations: 8.1 MB / 299.4 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 361.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2059, allocations: 51.52 MB / 413.2 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003693/0.2097, allocations: 4.129 MB / 417.3 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2112, allocations: 1.062 MB / 418.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2113, allocations: 8 kB / 418.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.2117, allocations: 171.2 kB / 418.6 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.2123, allocations: 262.5 kB / 418.8 MB, free: 20.16 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.001717/0.214, allocations: 1.237 MB / 420.1 MB, free: 18.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.2145, allocations: 0.5908 MB / 420.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.2147, allocations: 183.8 kB / 420.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2149, allocations: 251 kB / 421.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.2152, allocations: 334.6 kB / 421.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.2153, allocations: 40 kB / 421.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.2157, allocations: 267.8 kB / 421.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.2158, allocations: 111.5 kB / 421.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.216, allocations: 282.5 kB / 422.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.2165, allocations: 0.5846 MB / 422.7 MB, free: 16.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2165, allocations: 4 kB / 422.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2165, allocations: 0 / 422.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2165, allocations: 0 / 422.7 MB, free: 16.29 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.005264/0.2218, allocations: 1.625 MB / 424.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2218, allocations: 15.97 kB / 424.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.222, allocations: 68.19 kB / 424.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.2224, allocations: 399.8 kB / 424.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.2224, allocations: 67.45 kB / 424.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.2225, allocations: 52.38 kB / 424.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.2234, allocations: 0.6857 MB / 425.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2234, allocations: 0 / 425.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.2235, allocations: 23.98 kB / 425.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2235, allocations: 16 kB / 425.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.2243, allocations: 0.6364 MB / 426.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.227, allocations: 2.709 MB / 429 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.2282, allocations: 1.051 MB / 430 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.2287, allocations: 450.7 kB / 430.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.2288, allocations: 28.61 kB / 430.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007079/0.2295, allocations: 0.4963 MB / 431 MB, free: 7.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.154e-06/0.2295, allocations: 0 / 431 MB, free: 7.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008195/0.2377, allocations: 2.646 MB / 433.6 MB, free: 4.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.2378, allocations: 89.7 kB / 433.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.2381, allocations: 341.5 kB / 434 MB, free: 4.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/0.2382, allocations: 41.7 kB / 434.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.2383, allocations: 197.3 kB / 434.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.2385, allocations: 252.2 kB / 434.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.2387, allocations: 150.6 kB / 434.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.2388, allocations: 362.8 kB / 435 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.2393, allocations: 417.9 kB / 435.4 MB, free: 2.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.2399, allocations: 494.3 kB / 435.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.241, allocations: 0.9365 MB / 436.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.241, allocations: 3.938 kB / 436.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00403/0.2451, allocations: 1.727 MB / 438.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2451, allocations: 4 kB / 438.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2452, allocations: 0 / 438.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/0.2496, allocations: 1.07 MB / 439.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.2501, allocations: 123.8 kB / 439.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/0.2589, allocations: 4.9 MB / 444.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.2596, allocations: 67.22 kB / 444.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.2596, allocations: 31.98 kB / 444.8 MB, free: 9.492 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.0002834/0.2599, allocations: 189.7 kB / 445 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.26, allocations: 51.34 kB / 445 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.2645, allocations: 1.718 MB / 446.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.2645, allocations: 8 kB / 446.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2645, allocations: 8 kB / 446.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2645, allocations: 3.984 kB / 446.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/0.2696, allocations: 2.528 MB / 449.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2696, allocations: 0 / 449.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.27, allocations: 87.91 kB / 449.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004088/0.2741, allocations: 0.9648 MB / 450.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/0.2742, allocations: 27.98 kB / 450.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00868/0.2828, allocations: 4.8 MB / 455.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2829, allocations: 0 / 455.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/0.2872, allocations: 1.683 MB / 456.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.2874, allocations: 136.2 kB / 457 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.2875, allocations: 16 kB / 457 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.288, allocations: 35.97 kB / 457 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.2882, allocations: 68.84 kB / 457.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.2883, allocations: 24 kB / 457.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.2886, allocations: 239.2 kB / 457.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2886, allocations: 0 / 457.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008837/0.2895, allocations: 263.7 kB / 457.6 MB, free: 12.39 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.0002383/0.2898, allocations: 143 kB / 457.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.2931, allocations: 1.468 MB / 459.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2931, allocations: 0 / 459.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.2955, allocations: 0.9651 MB / 460.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.2961, allocations: 57.36 kB / 460.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.298, allocations: 1.358 MB / 461.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.2985, allocations: 0.8701 MB / 462.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.2987, allocations: 55.42 kB / 462.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2987, allocations: 0 / 462.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of Templates: time 0.01426/0.313, allocations: 10.96 MB / 473.5 MB, free: 12.45 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)