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.001393/0.001393, allocations: 105.5 kB / 16.98 MB, free: 6.137 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.001395/0.001395, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.356/1.356, allocations: 222.9 MB / 241.6 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05059/0.05059, allocations: 8.094 MB / 299.9 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 362.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2073, allocations: 51.52 MB / 413.9 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003862/0.2112, allocations: 4.113 MB / 418 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2127, allocations: 1.074 MB / 419.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2129, allocations: 8 kB / 419.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.2133, allocations: 198.8 kB / 419.3 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.2138, allocations: 302 kB / 419.6 MB, free: 19.87 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.001829/0.2156, allocations: 1.26 MB / 420.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.2162, allocations: 0.6104 MB / 421.5 MB, free: 18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.2164, allocations: 219.3 kB / 421.7 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2166, allocations: 263 kB / 421.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.2169, allocations: 338.6 kB / 422.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.217, allocations: 48 kB / 422.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.2174, allocations: 287.8 kB / 422.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.2175, allocations: 123.5 kB / 422.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.2177, allocations: 302.5 kB / 423 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.2183, allocations: 0.7827 MB / 423.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2183, allocations: 0 / 423.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2183, allocations: 4 kB / 423.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2183, allocations: 0 / 423.8 MB, free: 15.66 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.005397/0.2237, allocations: 1.622 MB / 425.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2237, allocations: 11.89 kB / 425.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.2239, allocations: 72.12 kB / 425.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.2243, allocations: 391.9 kB / 425.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.2243, allocations: 67.45 kB / 426 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.2244, allocations: 56.31 kB / 426 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.2253, allocations: 0.6974 MB / 426.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2253, allocations: 3.984 kB / 426.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.2254, allocations: 16 kB / 426.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2254, allocations: 12 kB / 426.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.2262, allocations: 0.6365 MB / 427.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.2288, allocations: 2.712 MB / 430.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.23, allocations: 1.057 MB / 431.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.2305, allocations: 446.7 kB / 431.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/0.2306, allocations: 16.64 kB / 431.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006597/0.2313, allocations: 0.5041 MB / 432.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.226e-06/0.2313, allocations: 0 / 432.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.00813/0.2394, allocations: 2.649 MB / 434.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2395, allocations: 85.7 kB / 434.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.2398, allocations: 341.5 kB / 435.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.2399, allocations: 41.7 kB / 435.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.24, allocations: 205.3 kB / 435.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2401, allocations: 252.2 kB / 435.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.2403, allocations: 150.6 kB / 435.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.2404, allocations: 358.8 kB / 436.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.2409, allocations: 421.9 kB / 436.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.2415, allocations: 490.2 kB / 437.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.2426, allocations: 0.9404 MB / 438 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2426, allocations: 0 / 438 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003997/0.2466, allocations: 1.727 MB / 439.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2466, allocations: 7.938 kB / 439.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2466, allocations: 0 / 439.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.2509, allocations: 1.082 MB / 440.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.2513, allocations: 123.8 kB / 440.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009457/0.2608, allocations: 5.327 MB / 446.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.2614, allocations: 75.2 kB / 446.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.2615, allocations: 27.98 kB / 446.4 MB, free: 8.391 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.0002652/0.2617, allocations: 185.7 kB / 446.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.2618, allocations: 59.28 kB / 446.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.2662, allocations: 1.71 MB / 448.3 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2662, allocations: 8 kB / 448.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2662, allocations: 3.938 kB / 448.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2662, allocations: 3.984 kB / 448.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.2714, allocations: 2.536 MB / 450.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2714, allocations: 4 kB / 450.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.2718, allocations: 91.89 kB / 451 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004061/0.2758, allocations: 0.9612 MB / 451.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.2759, allocations: 16 kB / 451.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009361/0.2853, allocations: 5.275 MB / 457.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2853, allocations: 0 / 457.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.2899, allocations: 1.683 MB / 458.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.2901, allocations: 136.3 kB / 459 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.2902, allocations: 15.94 kB / 459 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.2907, allocations: 39.97 kB / 459.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.2909, allocations: 64.91 kB / 459.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.291, allocations: 24 kB / 459.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.2913, allocations: 235.2 kB / 459.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.335e-06/0.2913, allocations: 4 kB / 459.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009288/0.2922, allocations: 264 kB / 459.7 MB, free: 10.82 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.0002448/0.2925, allocations: 135.1 kB / 459.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.2962, allocations: 1.53 MB / 461.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.2962, allocations: 4 kB / 461.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.2986, allocations: 0.9808 MB / 462.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.2992, allocations: 63.39 kB / 462.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3013, allocations: 1.145 MB / 463.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3018, allocations: 0.8696 MB / 464.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.302, allocations: 55.42 kB / 464.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.302, allocations: 0 / 464.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of Templates: time 0.01559/0.3176, allocations: 10.97 MB / 475.4 MB, free: 11 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)