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.001284/0.001284, allocations: 108.4 kB / 17.08 MB, free: 5.773 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.001063/0.001063, allocations: 195 kB / 18.03 MB, free: 4.953 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05414/0.05414, allocations: 8.084 MB / 300 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 363.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.213, allocations: 51.51 MB / 414.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003625/0.2167, allocations: 4.107 MB / 418.8 MB, free: 21.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2181, allocations: 1.078 MB / 419.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2183, allocations: 8 kB / 419.9 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.2187, allocations: 194.8 kB / 420.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.2192, allocations: 302 kB / 420.4 MB, free: 19.79 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.001778/0.221, allocations: 1.268 MB / 421.6 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.2215, allocations: 0.622 MB / 422.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.2218, allocations: 215.2 kB / 422.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.2219, allocations: 259.1 kB / 422.7 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.2223, allocations: 346.6 kB / 423.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.2223, allocations: 48 kB / 423.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.2227, allocations: 291.8 kB / 423.4 MB, free: 16.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.2228, allocations: 127.5 kB / 423.5 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.223, allocations: 298.5 kB / 423.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.2236, allocations: 0.7825 MB / 424.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2236, allocations: 0 / 424.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2236, allocations: 0 / 424.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2236, allocations: 0 / 424.6 MB, free: 15.56 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.005319/0.2289, allocations: 1.633 MB / 426.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.229, allocations: 15.88 kB / 426.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.2291, allocations: 68.19 kB / 426.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.2296, allocations: 403.8 kB / 426.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/0.2296, allocations: 67.45 kB / 426.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.2297, allocations: 52.38 kB / 426.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.2306, allocations: 0.6857 MB / 427.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2306, allocations: 0 / 427.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.2307, allocations: 19.98 kB / 427.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2307, allocations: 12 kB / 427.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.2315, allocations: 0.6404 MB / 428.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2342, allocations: 2.701 MB / 430.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2353, allocations: 1.057 MB / 431.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.2358, allocations: 450.7 kB / 432.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.2359, allocations: 20.62 kB / 432.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006949/0.2366, allocations: 0.5002 MB / 432.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.615e-06/0.2366, allocations: 0 / 432.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008015/0.2446, allocations: 2.642 MB / 435.5 MB, free: 4.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.2447, allocations: 89.7 kB / 435.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.245, allocations: 341.5 kB / 436 MB, free: 3.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.2451, allocations: 49.7 kB / 436 MB, free: 3.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.2452, allocations: 197.3 kB / 436.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.2453, allocations: 252.2 kB / 436.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.2455, allocations: 150.6 kB / 436.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.2456, allocations: 358.8 kB / 437 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.2461, allocations: 417.9 kB / 437.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.2467, allocations: 490.3 kB / 437.8 MB, free: 1.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2478, allocations: 0.9404 MB / 438.8 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2478, allocations: 4.031 kB / 438.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004021/0.2518, allocations: 1.723 MB / 440.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.2519, allocations: 8 kB / 440.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2519, allocations: 0 / 440.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0042/0.2561, allocations: 1.078 MB / 441.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.2567, allocations: 123.8 kB / 441.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00892/0.2656, allocations: 5.319 MB / 447 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.2663, allocations: 71.2 kB / 447.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.2663, allocations: 28 kB / 447.1 MB, free: 8.32 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.000315/0.2667, allocations: 193.7 kB / 447.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2668, allocations: 55.28 kB / 447.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.2709, allocations: 1.706 MB / 449.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2709, allocations: 12 kB / 449.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2709, allocations: 7.875 kB / 449.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2709, allocations: 3.984 kB / 449.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/0.2758, allocations: 2.525 MB / 451.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2758, allocations: 4 kB / 451.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.2762, allocations: 95.89 kB / 451.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/0.2799, allocations: 0.965 MB / 452.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.28, allocations: 16 kB / 452.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00834/0.2883, allocations: 5.256 MB / 458 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2884, allocations: 0 / 458 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.2924, allocations: 1.685 MB / 459.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2925, allocations: 144.2 kB / 459.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.2926, allocations: 15.94 kB / 459.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.2931, allocations: 39.97 kB / 459.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.2933, allocations: 68.78 kB / 459.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.2934, allocations: 24 kB / 459.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000258/0.2936, allocations: 235.2 kB / 460.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2936, allocations: 4 kB / 460.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007774/0.2944, allocations: 255.8 kB / 460.4 MB, free: 10.76 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.0002469/0.2947, allocations: 131.2 kB / 460.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003183/0.2979, allocations: 1.499 MB / 462 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2979, allocations: 0 / 462 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.3, allocations: 0.9964 MB / 463 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.3005, allocations: 57.42 kB / 463.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3024, allocations: 1.093 MB / 464.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3029, allocations: 0.8775 MB / 465.1 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.3031, allocations: 76.31 kB / 465.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3033, allocations: 51.42 kB / 465.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3033, allocations: 0 / 465.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of Templates: time 0.02388/0.3271, allocations: 15.81 MB / 481 MB, free: 6.148 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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)