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/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.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.0011/0.0011, allocations: 105.9 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.001127/0.001127, allocations: 191.2 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05144/0.05144, allocations: 8.106 MB / 299.2 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.89 kB / 361.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 51.52 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003944/0.2729, allocations: 3.592 MB / 416.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2745, allocations: 0.9728 MB / 417.8 MB, free: 21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.2747, allocations: 12 kB / 417.8 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.2752, allocations: 170.9 kB / 418 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.276, allocations: 250.4 kB / 418.2 MB, free: 20.58 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.001754/0.2778, allocations: 1.233 MB / 419.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.2782, allocations: 485.6 kB / 419.9 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.2785, allocations: 174.3 kB / 420.1 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2786, allocations: 203.3 kB / 420.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.2789, allocations: 274.8 kB / 420.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.2789, allocations: 40 kB / 420.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.2793, allocations: 279.8 kB / 420.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.2794, allocations: 103.6 kB / 421 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2796, allocations: 230.8 kB / 421.2 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.2801, allocations: 0.6581 MB / 421.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2801, allocations: 4 kB / 421.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2801, allocations: 0 / 421.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2801, allocations: 3.984 kB / 421.9 MB, free: 16.91 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.004267/0.2844, allocations: 1.373 MB / 423.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2845, allocations: 8.031 kB / 423.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2846, allocations: 52.38 kB / 423.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.2849, allocations: 347.4 kB / 423.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.285, allocations: 63.27 kB / 423.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.2851, allocations: 44.38 kB / 423.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008883/0.286, allocations: 0.565 MB / 424.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.286, allocations: 3.938 kB / 424.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.2861, allocations: 16 kB / 424.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2861, allocations: 11.94 kB / 424.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.2867, allocations: 0.5154 MB / 424.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.2892, allocations: 2.242 MB / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.2902, allocations: 0.7376 MB / 427.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.2906, allocations: 362.5 kB / 428.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/0.2907, allocations: 16.53 kB / 428.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006613/0.2913, allocations: 411 kB / 428.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.785e-06/0.2914, allocations: 0 / 428.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006301/0.2977, allocations: 2.112 MB / 430.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2977, allocations: 85.67 kB / 430.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.298, allocations: 278.8 kB / 431.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.2981, allocations: 45.7 kB / 431.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2982, allocations: 173.5 kB / 431.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2983, allocations: 205 kB / 431.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2985, allocations: 126.7 kB / 431.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.2986, allocations: 346.8 kB / 432 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.2991, allocations: 337.9 kB / 432.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.2996, allocations: 409.9 kB / 432.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.3005, allocations: 0.754 MB / 433.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3005, allocations: 3.938 kB / 433.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002902/0.3034, allocations: 1.364 MB / 434.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3034, allocations: 4 kB / 434.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3035, allocations: 0 / 434.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.3062, allocations: 0.6773 MB / 435.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.3066, allocations: 103.9 kB / 435.6 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.3131, allocations: 4.333 MB / 439.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.3137, allocations: 67.36 kB / 440 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.3137, allocations: 23.98 kB / 440 MB, free: 14.14 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.000314/0.3141, allocations: 173.8 kB / 440.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.3142, allocations: 43.53 kB / 440.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.3175, allocations: 1.331 MB / 441.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.3175, allocations: 4 kB / 441.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3175, allocations: 7.938 kB / 441.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3175, allocations: 3.984 kB / 441.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/0.3215, allocations: 2.04 MB / 443.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3215, allocations: 0 / 443.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.3218, allocations: 75.91 kB / 443.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/0.3247, allocations: 0.6786 MB / 444.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.3247, allocations: 12 kB / 444.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/0.3314, allocations: 4.275 MB / 448.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3314, allocations: 3.984 kB / 448.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.3345, allocations: 1.331 MB / 450 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3347, allocations: 132.4 kB / 450.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.3348, allocations: 12 kB / 450.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.3351, allocations: 31.98 kB / 450.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3353, allocations: 56.42 kB / 450.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.3354, allocations: 19.94 kB / 450.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.3356, allocations: 201.9 kB / 450.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3356, allocations: 0 / 450.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000718/0.3364, allocations: 211.8 kB / 450.7 MB, free: 3.25 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.0002532/0.3366, allocations: 135.2 kB / 450.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.3393, allocations: 1.17 MB / 452 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3393, allocations: 0 / 452 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.3409, allocations: 0.7398 MB / 452.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.3415, allocations: 47.95 kB / 452.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.3434, allocations: 0.8975 MB / 453.6 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.344, allocations: 0.8337 MB / 454.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.3443, allocations: 59.23 kB / 454.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3444, allocations: 39.42 kB / 454.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3444, allocations: 0 / 454.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Templates: time 0.0185/0.3629, allocations: 12.67 MB / 467.2 MB, free: 2.621 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)