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/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.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.001884/0.001884, allocations: 102.6 kB / 16.31 MB, free: 5.879 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.002085/0.002086, allocations: 190.7 kB / 17.24 MB, free: 5.539 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0554/0.0554, allocations: 8.107 MB / 299.2 MB, free: 6.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 59.91 kB / 361.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2673, allocations: 51.53 MB / 413.3 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005283/0.2726, allocations: 4.103 MB / 417.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2746, allocations: 1.07 MB / 418.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2749, allocations: 8 kB / 418.4 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.2753, allocations: 194.8 kB / 418.6 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.276, allocations: 310 kB / 418.9 MB, free: 19.92 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.001877/0.2779, allocations: 1.26 MB / 420.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.2785, allocations: 0.6065 MB / 420.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.2788, allocations: 227.3 kB / 421 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.279, allocations: 259 kB / 421.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.2793, allocations: 346.6 kB / 421.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.2794, allocations: 48 kB / 421.7 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.2799, allocations: 287.8 kB / 421.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.28, allocations: 119.5 kB / 422.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.2802, allocations: 302.4 kB / 422.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.2808, allocations: 0.7749 MB / 423.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2808, allocations: 3.984 kB / 423.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2808, allocations: 0 / 423.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2808, allocations: 0 / 423.1 MB, free: 15.71 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.005192/0.286, allocations: 1.626 MB / 424.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2861, allocations: 12.03 kB / 424.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2862, allocations: 68.19 kB / 424.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.2867, allocations: 395.8 kB / 425.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.2868, allocations: 71.45 kB / 425.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.2869, allocations: 52.38 kB / 425.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.2877, allocations: 0.6895 MB / 426 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2878, allocations: 0 / 426 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.2878, allocations: 24 kB / 426.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2878, allocations: 8 kB / 426.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007807/0.2886, allocations: 0.6365 MB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.2913, allocations: 2.713 MB / 429.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2925, allocations: 1.057 MB / 430.5 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.293, allocations: 450.7 kB / 430.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.339e-05/0.2931, allocations: 24.62 kB / 430.9 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007544/0.2939, allocations: 0.4963 MB / 431.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.936e-06/0.2939, allocations: 0 / 431.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007937/0.3018, allocations: 2.645 MB / 434.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.3019, allocations: 89.7 kB / 434.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3022, allocations: 349.5 kB / 434.5 MB, free: 3.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.657e-05/0.3023, allocations: 45.7 kB / 434.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.3024, allocations: 193.3 kB / 434.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.3026, allocations: 260.2 kB / 435 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.3028, allocations: 146.6 kB / 435.1 MB, free: 3.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.3029, allocations: 354.8 kB / 435.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.3034, allocations: 417.8 kB / 435.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.3039, allocations: 498.3 kB / 436.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.305, allocations: 0.9326 MB / 437.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.305, allocations: 3.938 kB / 437.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003935/0.309, allocations: 1.72 MB / 439 MB, free: 15.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.309, allocations: 15.92 kB / 439 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.309, allocations: 4 kB / 439.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/0.3132, allocations: 1.074 MB / 440.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.3137, allocations: 127.8 kB / 440.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009402/0.3231, allocations: 5.33 MB / 445.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.3238, allocations: 71.2 kB / 445.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.3238, allocations: 31.94 kB / 445.7 MB, free: 8.449 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.0002871/0.3241, allocations: 189.7 kB / 445.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.3242, allocations: 59.28 kB / 445.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.3286, allocations: 1.714 MB / 447.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3287, allocations: 8 kB / 447.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3287, allocations: 7.938 kB / 447.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3287, allocations: 3.984 kB / 447.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.3339, allocations: 2.532 MB / 450.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3339, allocations: 0 / 450.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.3342, allocations: 91.89 kB / 450.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003855/0.3381, allocations: 0.9612 MB / 451.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.3382, allocations: 16 kB / 451.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.3491, allocations: 5.267 MB / 456.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3492, allocations: 0 / 456.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.3539, allocations: 1.683 MB / 458.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.3542, allocations: 140.2 kB / 458.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.3543, allocations: 19.94 kB / 458.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.3547, allocations: 35.97 kB / 458.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.355, allocations: 64.91 kB / 458.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.3551, allocations: 27.98 kB / 458.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.3555, allocations: 235.2 kB / 458.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3555, allocations: 0 / 458.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009922/0.3565, allocations: 256.1 kB / 459 MB, free: 10.89 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.0003213/0.3568, allocations: 143 kB / 459.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004157/0.361, allocations: 1.522 MB / 460.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.361, allocations: 3.938 kB / 460.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.3636, allocations: 0.9809 MB / 461.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.3643, allocations: 71.17 kB / 461.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3665, allocations: 1.108 MB / 462.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.3671, allocations: 0.8697 MB / 463.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.3674, allocations: 80.3 kB / 463.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3676, allocations: 51.42 kB / 463.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3676, allocations: 4 kB / 463.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of Templates: time 0.02422/0.3918, allocations: 15.79 MB / 479.6 MB, free: 6.238 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)