Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 93.47 kB / 16.65 MB, free: 6.598 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.00146/0.00146, allocations: 177 kB / 17.56 MB, free: 6.203 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.482/1.482, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1972/0.1972, allocations: 38.05 MB / 310.1 MB, free: 6 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.0005157/0.0005157, allocations: 23.27 kB / 377.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 56.32 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005584/0.2881, allocations: 6.477 MB / 440 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.2904, allocations: 1.575 MB / 441.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.2909, allocations: 47.69 kB / 441.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.2912, allocations: 67.47 kB / 441.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006533/0.2918, allocations: 262.7 kB / 441.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.2921, allocations: 127.8 kB / 442 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.2927, allocations: 0.9542 MB / 443 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.2929, allocations: 144.2 kB / 443.1 MB, free: 9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.2932, allocations: 262.6 kB / 443.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.2936, allocations: 322.8 kB / 443.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.2937, allocations: 20 kB / 443.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.2937, allocations: 23.94 kB / 443.7 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.2938, allocations: 147.5 kB / 443.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.294, allocations: 244.5 kB / 444.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.2943, allocations: 462.1 kB / 444.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2943, allocations: 0 / 444.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.2943, allocations: 0 / 444.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2943, allocations: 7.938 kB / 444.6 MB, free: 7.531 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009736/0.2953, allocations: 0.7113 MB / 445.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2954, allocations: 8.031 kB / 445.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.2954, allocations: 56.28 kB / 445.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.2959, allocations: 432.2 kB / 445.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.296, allocations: 25 kB / 445.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.296, allocations: 40 kB / 445.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.2966, allocations: 459.6 kB / 446.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2966, allocations: 4 kB / 446.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.2966, allocations: 20 kB / 446.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2967, allocations: 8 kB / 446.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.297, allocations: 312.4 kB / 446.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.2986, allocations: 1.767 MB / 448.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2987, allocations: 151.5 kB / 448.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.2988, allocations: 58.66 kB / 448.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2989, allocations: 0 / 448.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2989, allocations: 42.56 kB / 448.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.2989, allocations: 0 / 448.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008166/0.2997, allocations: 0.6039 MB / 449.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2998, allocations: 102.8 kB / 449.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3001, allocations: 373.5 kB / 449.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3001, allocations: 33.64 kB / 449.7 MB, free: 2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3003, allocations: 283.5 kB / 450 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.3003, allocations: 55.2 kB / 450.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.3004, allocations: 37.64 kB / 450.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.3004, allocations: 346.8 kB / 450.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.3005, allocations: 51.91 kB / 450.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3007, allocations: 198.5 kB / 450.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3009, allocations: 266.6 kB / 451 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3009, allocations: 4 kB / 451 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003425/0.3013, allocations: 288.8 kB / 451.2 MB, free: 348 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3013, allocations: 8 kB / 451.2 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3013, allocations: 4 kB / 451.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3013, allocations: 8 kB / 451.3 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3015, allocations: 71.84 kB / 451.3 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3016, allocations: 8 kB / 451.3 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3017, allocations: 16.34 kB / 451.4 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3017, allocations: 27.98 kB / 451.4 MB, free: 204 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.3019, allocations: 177.6 kB / 451.6 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.302, allocations: 31.67 kB / 451.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.3023, allocations: 165 kB / 451.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3023, allocations: 4 kB / 451.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3023, allocations: 0 / 451.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3023, allocations: 0 / 451.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.303, allocations: 0.542 MB / 452.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.303, allocations: 0 / 452.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3032, allocations: 39.92 kB / 452.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3033, allocations: 4.438 kB / 452.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3033, allocations: 3.984 kB / 452.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.3033, allocations: 4 kB / 452.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3033, allocations: 7.938 kB / 452.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.3038, allocations: 395.9 kB / 452.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.3039, allocations: 116.7 kB / 452.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.3039, allocations: 0 / 452.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3041, allocations: 11.94 kB / 452.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3042, allocations: 8.078 kB / 452.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3042, allocations: 7.938 kB / 452.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.3045, allocations: 263.2 kB / 453.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3045, allocations: 0 / 453.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003943/0.3049, allocations: 72 kB / 453.2 MB, free: 14.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002347/0.3051, allocations: 103.2 kB / 453.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3054, allocations: 160.8 kB / 453.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3054, allocations: 0 / 453.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.3055, allocations: 51.92 kB / 453.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.3062, allocations: 91.98 kB / 453.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3076, allocations: 1.108 MB / 454.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.308, allocations: 0.835 MB / 455.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.3082, allocations: 47.25 kB / 455.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.3083, allocations: 35.44 kB / 455.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3083, allocations: 0 / 455.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Templates: time 0.007784/0.3161, allocations: 3.062 MB / 458.7 MB, free: 8.723 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) Environment - environmentSimulation: