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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.411/1.411, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001753/0.001753, allocations: 104.8 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1617/0.1617, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.288e-05, allocations: 8 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 53.23 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4607, allocations: 90.05 MB / 0.5281 GB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.461, allocations: 87.95 kB / 0.5282 GB, free: 3.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3283/0.7893, allocations: 10.2 MB / 0.5382 GB, free: 60.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7893, allocations: 0 / 0.5382 GB, free: 60.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.7894, allocations: 8.938 kB / 0.5382 GB, free: 60.62 MB / 378.7 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.001062/0.7904, allocations: 0.6736 MB / 0.5388 GB, free: 60.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7905, allocations: 10.44 kB / 0.5389 GB, free: 60.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.7906, allocations: 54.19 kB / 0.5389 GB, free: 60.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.793, allocations: 1.008 MB / 0.5399 GB, free: 59.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.7931, allocations: 26.75 kB / 0.5399 GB, free: 59.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.7931, allocations: 42.19 kB / 0.54 GB, free: 59.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.7938, allocations: 442.5 kB / 0.5404 GB, free: 59.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.7939, allocations: 6.859 kB / 0.5404 GB, free: 59.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.7939, allocations: 17.88 kB / 0.5404 GB, free: 59.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.7939, allocations: 12.83 kB / 0.5404 GB, free: 59.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.7944, allocations: 305.7 kB / 0.5407 GB, free: 59.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.7964, allocations: 1.759 MB / 0.5424 GB, free: 58.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.7967, allocations: 139.4 kB / 0.5426 GB, free: 58.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.7968, allocations: 58.89 kB / 0.5426 GB, free: 58.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.7968, allocations: 4.375 kB / 0.5426 GB, free: 58.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.7968, allocations: 41.95 kB / 0.5427 GB, free: 58.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.7968, allocations: 0 / 0.5427 GB, free: 58.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009777/0.7978, allocations: 0.5744 MB / 0.5432 GB, free: 57.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.7979, allocations: 110.6 kB / 0.5433 GB, free: 57.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.7982, allocations: 320 kB / 0.5436 GB, free: 57.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.7983, allocations: 30.3 kB / 0.5437 GB, free: 57.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.7984, allocations: 274.2 kB / 0.5439 GB, free: 57.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.7985, allocations: 61.06 kB / 0.544 GB, free: 57.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7985, allocations: 4.562 kB / 0.544 GB, free: 57.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.7986, allocations: 356.2 kB / 0.5443 GB, free: 57.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.7987, allocations: 44.06 kB / 0.5444 GB, free: 57.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.7988, allocations: 191.6 kB / 0.5445 GB, free: 56.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.799, allocations: 80.16 kB / 0.5446 GB, free: 56.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.799, allocations: 1.688 kB / 0.5446 GB, free: 56.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004444/0.7995, allocations: 285.8 kB / 0.5449 GB, free: 56.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.7995, allocations: 8.547 kB / 0.5449 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7995, allocations: 5.156 kB / 0.5449 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.7995, allocations: 7.781 kB / 0.5449 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.7998, allocations: 69.44 kB / 0.545 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.7998, allocations: 11.78 kB / 0.545 GB, free: 56.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.8, allocations: 17.72 kB / 0.545 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.8, allocations: 16.59 kB / 0.545 GB, free: 56.8 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.8001, allocations: 126.6 kB / 0.5451 GB, free: 56.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.8002, allocations: 37.06 kB / 0.5452 GB, free: 56.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.8005, allocations: 169.6 kB / 0.5453 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.8005, allocations: 5.266 kB / 0.5453 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8005, allocations: 0 / 0.5453 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.8005, allocations: 1.281 kB / 0.5454 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.8012, allocations: 0.5308 MB / 0.5459 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8012, allocations: 1.281 kB / 0.5459 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.8014, allocations: 35.69 kB / 0.5459 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.8014, allocations: 2.594 kB / 0.5459 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.8014, allocations: 1.25 kB / 0.5459 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8014, allocations: 2.469 kB / 0.5459 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8014, allocations: 6.906 kB / 0.5459 GB, free: 56.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.8018, allocations: 425.7 kB / 0.5463 GB, free: 56.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.8019, allocations: 116 kB / 0.5464 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.8019, allocations: 4.109 kB / 0.5464 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.8021, allocations: 8.891 kB / 0.5464 GB, free: 55.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.8021, allocations: 21.47 kB / 0.5465 GB, free: 55.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.8022, allocations: 5.375 kB / 0.5465 GB, free: 55.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.8024, allocations: 246.8 kB / 0.5467 GB, free: 55.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8024, allocations: 0 / 0.5467 GB, free: 55.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.8028, allocations: 76.97 kB / 0.5468 GB, free: 55.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.803, allocations: 103.8 kB / 0.5469 GB, free: 55.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.8033, allocations: 158.6 kB / 0.547 GB, free: 55.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8033, allocations: 0 / 0.547 GB, free: 55.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.8034, allocations: 62.12 kB / 0.5471 GB, free: 55.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.8039, allocations: 87.16 kB / 0.5472 GB, free: 55.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.805, allocations: 0.6393 MB / 0.5478 GB, free: 55.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.8053, allocations: 0.8511 MB / 0.5486 GB, free: 54.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.8055, allocations: 56.14 kB / 0.5487 GB, free: 54.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.8055, allocations: 26.59 kB / 0.5487 GB, free: 54.58 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8055, allocations: 0 / 0.5487 GB, free: 54.58 MB / 378.7 MB Notification: Performance of Templates: time 0.005933/0.8115, allocations: 2.97 MB / 0.5516 GB, free: 54.35 MB / 378.7 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)