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.001136/0.001136, allocations: 110.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.001033/0.001033, 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.366/1.366, 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.0506/0.0506, allocations: 8.094 MB / 300 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 363.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2248, allocations: 51.52 MB / 414.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003925/0.2287, allocations: 3.59 MB / 418.3 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2303, allocations: 0.9728 MB / 419.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.2305, allocations: 8 kB / 419.3 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.2309, allocations: 167 kB / 419.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000447/0.2314, allocations: 258.4 kB / 419.7 MB, free: 20.48 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.001698/0.2331, allocations: 1.245 MB / 420.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.2337, allocations: 497.6 kB / 421.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.2339, allocations: 164.1 kB / 421.6 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.2341, allocations: 207.2 kB / 421.8 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.2343, allocations: 270.9 kB / 422 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.2344, allocations: 36 kB / 422.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.2348, allocations: 279.8 kB / 422.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.2349, allocations: 103.5 kB / 422.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2351, allocations: 238.8 kB / 422.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.2356, allocations: 0.66 MB / 423.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2357, allocations: 4 kB / 423.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2357, allocations: 0 / 423.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2357, allocations: 0 / 423.4 MB, free: 16.8 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.004179/0.2399, allocations: 1.379 MB / 424.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2399, allocations: 11.89 kB / 424.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.24, allocations: 52.38 kB / 424.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.2404, allocations: 355.3 kB / 425.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.2404, allocations: 59.27 kB / 425.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.2405, allocations: 40.38 kB / 425.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.2412, allocations: 0.565 MB / 425.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2412, allocations: 3.938 kB / 425.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.2413, allocations: 20 kB / 425.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2413, allocations: 8 kB / 425.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.242, allocations: 0.5193 MB / 426.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.2441, allocations: 2.226 MB / 428.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.245, allocations: 0.7454 MB / 429.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.2455, allocations: 358.5 kB / 429.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/0.2456, allocations: 20.55 kB / 429.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.2461, allocations: 407 kB / 430.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.064e-06/0.2461, allocations: 4 kB / 430.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006484/0.2526, allocations: 2.104 MB / 432.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2527, allocations: 81.67 kB / 432.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.2529, allocations: 282.9 kB / 432.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.253, allocations: 37.7 kB / 432.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.2531, allocations: 177.4 kB / 432.8 MB, free: 6.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2532, allocations: 212.9 kB / 433 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.2534, allocations: 126.6 kB / 433.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.2535, allocations: 350.8 kB / 433.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.2539, allocations: 333.9 kB / 433.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.2543, allocations: 409.9 kB / 434.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.2552, allocations: 0.7539 MB / 434.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2552, allocations: 0 / 434.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002951/0.2582, allocations: 1.36 MB / 436.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.2582, allocations: 8 kB / 436.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2583, allocations: 4 kB / 436.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/0.2612, allocations: 0.6739 MB / 437 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.2616, allocations: 107.8 kB / 437.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.268, allocations: 4.332 MB / 441.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.2685, allocations: 67.3 kB / 441.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.2686, allocations: 24 kB / 441.5 MB, free: 14.04 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.0002655/0.2689, allocations: 173.8 kB / 441.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.269, allocations: 43.47 kB / 441.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.2724, allocations: 1.323 MB / 443 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.2724, allocations: 8 kB / 443 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.2724, allocations: 0 / 443 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2724, allocations: 3.984 kB / 443 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.2764, allocations: 2.04 MB / 445.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2764, allocations: 0 / 445.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.2767, allocations: 75.91 kB / 445.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/0.2796, allocations: 0.6785 MB / 445.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.2797, allocations: 12 kB / 445.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006771/0.2865, allocations: 4.27 MB / 450.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2865, allocations: 0 / 450.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.2903, allocations: 1.336 MB / 451.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.2905, allocations: 128.3 kB / 451.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2907, allocations: 20 kB / 451.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.2913, allocations: 31.92 kB / 451.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.2916, allocations: 56.42 kB / 451.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.2917, allocations: 20 kB / 451.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.2921, allocations: 197.9 kB / 451.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2921, allocations: 0 / 451.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001035/0.2931, allocations: 211.8 kB / 452.1 MB, free: 3.16 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.0003052/0.2935, allocations: 131.1 kB / 452.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.2962, allocations: 1.158 MB / 453.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2962, allocations: 128 / 453.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.2979, allocations: 0.7397 MB / 454.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.2983, allocations: 36.66 kB / 454.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3, allocations: 0.8886 MB / 455.1 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3005, allocations: 0.8298 MB / 455.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.3007, allocations: 67.2 kB / 456 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3008, allocations: 43.42 kB / 456 MB, free: 15.19 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3008, allocations: 0 / 456 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Templates: time 0.01894/0.3198, allocations: 12.66 MB / 468.7 MB, free: 2.559 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)