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.001123/0.001123, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001132/0.001132, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.301/1.301, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1732/0.1732, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.00144/0.00144, allocations: 71.89 kB / 432.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07978, allocations: 55.24 MB / 487.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006278/0.08609, allocations: 5.434 MB / 493.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.08795, allocations: 1.154 MB / 494.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.08823, allocations: 15.88 kB / 494.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.08848, allocations: 83.2 kB / 494.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.08923, allocations: 298.3 kB / 494.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.08955, allocations: 143.7 kB / 494.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.09018, allocations: 0.6928 MB / 495.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.09044, allocations: 180.7 kB / 495.8 MB, free: 452 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.09079, allocations: 314.6 kB / 496.1 MB, free: 136 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.09124, allocations: 326.8 kB / 496.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.09131, allocations: 32 kB / 496.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.09139, allocations: 32 kB / 496.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.09155, allocations: 163.5 kB / 496.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.09178, allocations: 246.8 kB / 496.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.09221, allocations: 490.2 kB / 497.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09222, allocations: 0 / 497.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09223, allocations: 3.938 kB / 497.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.09224, allocations: 0 / 497.3 MB, free: 14.86 MB / 382.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.001216/0.09346, allocations: 0.8007 MB / 498.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.09351, allocations: 15.84 kB / 498.1 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.09361, allocations: 52.28 kB / 498.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.09431, allocations: 464.1 kB / 498.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.09435, allocations: 29 kB / 498.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.09442, allocations: 36 kB / 498.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.09504, allocations: 455.6 kB / 499.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.09507, allocations: 8 kB / 499.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.09511, allocations: 19.94 kB / 499.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.09512, allocations: 8 kB / 499.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.09559, allocations: 304.7 kB / 499.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.09742, allocations: 1.763 MB / 0.4895 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.09764, allocations: 147.6 kB / 0.4896 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.09773, allocations: 54.62 kB / 0.4897 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.09775, allocations: 4 kB / 0.4897 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.09779, allocations: 38.5 kB / 0.4897 GB, free: 10.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.09779, allocations: 0 / 0.4897 GB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009012/0.0987, allocations: 0.6083 MB / 0.4903 GB, free: 9.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.09876, allocations: 110.8 kB / 0.4904 GB, free: 9.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.09912, allocations: 369.6 kB / 0.4908 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.09914, allocations: 25.7 kB / 0.4908 GB, free: 9.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.09932, allocations: 279.4 kB / 0.4911 GB, free: 8.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.09937, allocations: 59.19 kB / 0.4911 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.09946, allocations: 69.34 kB / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.09961, allocations: 358.8 kB / 0.4915 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.0997, allocations: 43.92 kB / 0.4916 GB, free: 8.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.09987, allocations: 190.8 kB / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1002, allocations: 266.6 kB / 0.492 GB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1002, allocations: 4 kB / 0.492 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000393/0.1006, allocations: 293.2 kB / 0.4923 GB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1006, allocations: 7.984 kB / 0.4923 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1006, allocations: 8 kB / 0.4923 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1006, allocations: 4 kB / 0.4923 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1009, allocations: 71.91 kB / 0.4924 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.1009, allocations: 7.938 kB / 0.4924 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1011, allocations: 12 kB / 0.4924 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1012, allocations: 12 kB / 0.4924 GB, free: 7.406 MB / 382.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.0001791/0.1013, allocations: 189.7 kB / 0.4926 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.1014, allocations: 39.52 kB / 0.4926 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1017, allocations: 172.6 kB / 0.4928 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1017, allocations: 3.984 kB / 0.4928 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1017, allocations: 0 / 0.4928 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.1018, allocations: 116.6 kB / 0.4929 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.1019, allocations: 0 / 0.4929 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1021, allocations: 11.94 kB / 0.4929 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.1022, allocations: 7.984 kB / 0.4929 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004562/0.1026, allocations: 399.2 kB / 0.4933 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004446/0.1031, allocations: 0.5323 MB / 0.4938 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.584e-05/0.1032, allocations: 59.94 kB / 0.4939 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.1034, allocations: 255.2 kB / 0.4941 GB, free: 5.582 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.1034, allocations: 0 / 0.4941 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.1041, allocations: 187.3 kB / 0.4943 GB, free: 5.395 MB / 382.1 MB Notification: Performance of SimCode: time 0.001687/0.1058, allocations: 1.366 MB / 0.4957 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.007205/0.113, allocations: 3.491 MB / 0.4991 GB, free: 492 kB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (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)