Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 110.3 kB / 16.69 MB, free: 6.277 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.001294/0.001294, allocations: 195.1 kB / 17.61 MB, free: 5.734 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.358/1.358, allocations: 222.9 MB / 241.3 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04922/0.04922, allocations: 8.098 MB / 299.5 MB, free: 6.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2078, allocations: 51.52 MB / 413.4 MB, free: 25.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003887/0.2117, allocations: 3.605 MB / 417 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2134, allocations: 0.969 MB / 418 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.2138, allocations: 12 kB / 418 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.2143, allocations: 139.4 kB / 418.1 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007195/0.2151, allocations: 218.8 kB / 418.3 MB, free: 20.98 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.001824/0.2169, allocations: 1.168 MB / 419.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.2176, allocations: 497.6 kB / 420 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.2178, allocations: 158.5 kB / 420.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.2181, allocations: 207.3 kB / 420.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.2184, allocations: 274.8 kB / 420.6 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.2185, allocations: 40 kB / 420.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.2189, allocations: 275.8 kB / 420.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.219, allocations: 103.6 kB / 421 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.2192, allocations: 242.8 kB / 421.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.2197, allocations: 490.9 kB / 421.7 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2197, allocations: 0 / 421.7 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2197, allocations: 0 / 421.7 MB, free: 17.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.2197, allocations: 0 / 421.7 MB, free: 17.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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004497/0.2242, allocations: 1.383 MB / 423.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2243, allocations: 11.89 kB / 423.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.2244, allocations: 56.38 kB / 423.2 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.2249, allocations: 355.3 kB / 423.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.2249, allocations: 59.27 kB / 423.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.225, allocations: 40.38 kB / 423.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.2259, allocations: 0.5612 MB / 424.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2259, allocations: 7.922 kB / 424.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.226, allocations: 16 kB / 424.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.226, allocations: 12 kB / 424.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.2267, allocations: 0.5193 MB / 424.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.2292, allocations: 2.234 MB / 427 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2302, allocations: 0.7531 MB / 427.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.2307, allocations: 354.5 kB / 428.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.2308, allocations: 12.55 kB / 428.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/0.2314, allocations: 415 kB / 428.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.845e-06/0.2314, allocations: 0 / 428.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006861/0.2383, allocations: 2.104 MB / 430.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2384, allocations: 89.67 kB / 430.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.2386, allocations: 282.9 kB / 431 MB, free: 7.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.2387, allocations: 41.7 kB / 431 MB, free: 7.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.2388, allocations: 169.5 kB / 431.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.2389, allocations: 208.9 kB / 431.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.2391, allocations: 134.6 kB / 431.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.2392, allocations: 346.8 kB / 431.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.2397, allocations: 337.9 kB / 432.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.2401, allocations: 405.9 kB / 432.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.241, allocations: 0.7578 MB / 433.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.241, allocations: 0 / 433.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003078/0.2441, allocations: 1.36 MB / 434.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2442, allocations: 4 kB / 434.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2442, allocations: 3.938 kB / 434.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.2472, allocations: 0.6775 MB / 435.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.2475, allocations: 107.8 kB / 435.5 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/0.2539, allocations: 4.329 MB / 439.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.2544, allocations: 59.42 kB / 439.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.2545, allocations: 20 kB / 439.9 MB, free: 14.78 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 (62): * Single equations (assignments): 61 * 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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.2547, allocations: 173.7 kB / 440.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2549, allocations: 43.52 kB / 440.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.2584, allocations: 1.335 MB / 441.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.2585, allocations: 8 kB / 441.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2585, allocations: 0 / 441.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2585, allocations: 3.984 kB / 441.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.2629, allocations: 2.04 MB / 443.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2629, allocations: 0 / 443.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.2632, allocations: 75.91 kB / 443.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/0.2663, allocations: 0.6789 MB / 444.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.2664, allocations: 19.98 kB / 444.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.2733, allocations: 4.28 MB / 448.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2733, allocations: 0 / 448.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.2767, allocations: 1.335 MB / 449.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.2768, allocations: 128.3 kB / 450 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.2769, allocations: 12 kB / 450 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.2773, allocations: 31.98 kB / 450.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.2775, allocations: 56.42 kB / 450.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.2776, allocations: 16 kB / 450.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.2778, allocations: 194 kB / 450.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2778, allocations: 0 / 450.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007237/0.2785, allocations: 219.8 kB / 450.5 MB, free: 3.887 MB / 318.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 (49): * Single equations (assignments): 48 * 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.2788, allocations: 123.1 kB / 450.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.2815, allocations: 1.186 MB / 451.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2815, allocations: 4 kB / 451.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.2831, allocations: 0.7321 MB / 452.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.2836, allocations: 44.62 kB / 452.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2853, allocations: 1.096 MB / 453.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.2858, allocations: 0.8298 MB / 454.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2859, allocations: 47.42 kB / 454.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2859, allocations: 0 / 454.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Templates: time 0.01197/0.2979, allocations: 8.739 MB / 463.3 MB, free: 7 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)