Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 91.16 kB / 16.3 MB, free: 5.629 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.001327/0.001327, allocations: 180 kB / 17.19 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 223.3 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1822/0.1822, allocations: 38.03 MB / 309.7 MB, free: 6.121 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005255, allocations: 12 kB / 376.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2855, allocations: 56.33 MB / 432.8 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003251/0.2888, allocations: 2.998 MB / 435.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2903, allocations: 1.214 MB / 437 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2904, allocations: 11.94 kB / 437 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2905, allocations: 31.77 kB / 437.1 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.2909, allocations: 139.5 kB / 437.2 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.2911, allocations: 99.73 kB / 437.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.2914, allocations: 159.6 kB / 437.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/0.2918, allocations: 246.9 kB / 437.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2919, allocations: 95.62 kB / 437.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2921, allocations: 71.69 kB / 437.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2921, allocations: 8 kB / 437.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2923, allocations: 111.7 kB / 438 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.2923, allocations: 43.91 kB / 438 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.2924, allocations: 65.58 kB / 438.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2926, allocations: 199.5 kB / 438.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2926, allocations: 4 kB / 438.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2926, allocations: 0 / 438.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2926, allocations: 0 / 438.3 MB, free: 13.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004947/0.2931, allocations: 478.8 kB / 438.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2932, allocations: 8.031 kB / 438.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.2938, allocations: 87.59 kB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2941, allocations: 250.6 kB / 439.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2941, allocations: 16.31 kB / 439.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.2942, allocations: 19.91 kB / 439.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.2946, allocations: 263.9 kB / 439.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2946, allocations: 0 / 439.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2946, allocations: 11.94 kB / 439.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.2946, allocations: 16.28 kB / 439.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.2949, allocations: 220.4 kB / 439.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2962, allocations: 1.218 MB / 440.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.2964, allocations: 133.1 kB / 441 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2964, allocations: 4.062 kB / 441 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2964, allocations: 38.72 kB / 441 MB, free: 10.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.2964, allocations: 0 / 441 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002897/0.2967, allocations: 157.5 kB / 441.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2968, allocations: 85.05 kB / 441.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2969, allocations: 203.1 kB / 441.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.297, allocations: 29.7 kB / 441.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.297, allocations: 155.8 kB / 441.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2971, allocations: 43.39 kB / 441.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.2971, allocations: 8 kB / 441.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.2971, allocations: 326.8 kB / 442 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.2972, allocations: 39.97 kB / 442 MB, free: 9.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.2973, allocations: 129.9 kB / 442.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.2974, allocations: 67.92 kB / 442.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2974, allocations: 0 / 442.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002202/0.2976, allocations: 208.5 kB / 442.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2977, allocations: 8.344 kB / 442.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2977, allocations: 4 kB / 442.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2977, allocations: 4 kB / 442.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2979, allocations: 51.91 kB / 442.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006662/0.2986, allocations: 1.337 MB / 443.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.2987, allocations: 11.84 kB / 443.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2987, allocations: 12 kB / 443.9 MB, free: 7.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/0.2988, allocations: 149.7 kB / 444 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2989, allocations: 15.81 kB / 444 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.2991, allocations: 142.9 kB / 444.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2991, allocations: 0 / 444.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.2991, allocations: 4.188 kB / 444.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2991, allocations: 0 / 444.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.2996, allocations: 499.9 kB / 444.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2996, allocations: 4 kB / 444.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.2998, allocations: 31.91 kB / 444.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2998, allocations: 7.984 kB / 444.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2998, allocations: 4 kB / 444.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000554/0.3004, allocations: 1.337 MB / 446 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3004, allocations: 0 / 446 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3007, allocations: 339.3 kB / 446.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.3007, allocations: 92.86 kB / 446.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3007, allocations: 11.94 kB / 446.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.3008, allocations: 12 kB / 446.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.3009, allocations: 11.92 kB / 446.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3009, allocations: 4 kB / 446.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.301, allocations: 148.4 kB / 446.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 446.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.3013, allocations: 47.91 kB / 446.7 MB, free: 4.168 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.3015, allocations: 95.25 kB / 446.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.3017, allocations: 137.9 kB / 446.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3017, allocations: 0 / 446.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3019, allocations: 51.91 kB / 447 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3022, allocations: 29.36 kB / 447 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.3031, allocations: 0.6183 MB / 447.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.3033, allocations: 0.7518 MB / 448.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.3034, allocations: 37.5 kB / 448.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.3034, allocations: 19.38 kB / 448.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3034, allocations: 0 / 448.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of Templates: time 0.003783/0.3072, allocations: 1.366 MB / 449.8 MB, free: 1.004 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) Environment - environmentSimulation: