Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002159/0.002159, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 221.9 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 90.8 kB / 270.2 MB, free: 13.3 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2663/0.2663, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004623, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 56.33 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5333/0.6434, allocations: 95.11 MB / 0.5607 GB, free: 4.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/0.6439, allocations: 86.7 kB / 0.5608 GB, free: 4.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06753/0.7114, allocations: 10.21 MB / 0.5708 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.862e-06/0.7115, allocations: 4 kB / 0.5708 GB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.449e-05/0.7116, allocations: 16.12 kB / 0.5708 GB, free: 11.71 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.002791/0.7144, allocations: 0.7428 MB / 0.5715 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.7144, allocations: 8.031 kB / 0.5715 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.7147, allocations: 59.72 kB / 0.5716 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/0.7204, allocations: 1.024 MB / 0.5726 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.7205, allocations: 27.25 kB / 0.5726 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.7207, allocations: 34.19 kB / 0.5726 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.7221, allocations: 469.3 kB / 0.5731 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.7222, allocations: 0 / 0.5731 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.7223, allocations: 13.25 kB / 0.5731 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.7223, allocations: 12 kB / 0.5731 GB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.7235, allocations: 306.2 kB / 0.5734 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.7279, allocations: 1.759 MB / 0.5751 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.7284, allocations: 139.5 kB / 0.5752 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.7285, allocations: 14.5 kB / 0.5753 GB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.7286, allocations: 31.06 kB / 0.5753 GB, free: 7.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.998e-06/0.7286, allocations: 3.938 kB / 0.5753 GB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002075/0.7307, allocations: 0.6007 MB / 0.5759 GB, free: 6.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.7308, allocations: 114.1 kB / 0.576 GB, free: 6.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.7316, allocations: 321.7 kB / 0.5763 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.7316, allocations: 29.39 kB / 0.5763 GB, free: 6.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.732, allocations: 320.3 kB / 0.5766 GB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.7321, allocations: 58.5 kB / 0.5767 GB, free: 6.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.7321, allocations: 9.938 kB / 0.5767 GB, free: 6.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.7323, allocations: 325 kB / 0.577 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.7325, allocations: 45.28 kB / 0.577 GB, free: 5.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.7329, allocations: 201.8 kB / 0.5772 GB, free: 5.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.7336, allocations: 77.19 kB / 0.5773 GB, free: 5.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.7336, allocations: 8 kB / 0.5773 GB, free: 5.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009972/0.7347, allocations: 255.7 kB / 0.5776 GB, free: 5.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.7347, allocations: 15.95 kB / 0.5776 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7348, allocations: 4 kB / 0.5776 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.7348, allocations: 8 kB / 0.5776 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.7356, allocations: 67.91 kB / 0.5776 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.7356, allocations: 15.86 kB / 0.5777 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.7362, allocations: 18.09 kB / 0.5777 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.7362, allocations: 15.75 kB / 0.5777 GB, free: 5.145 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004515/0.7367, allocations: 184.5 kB / 0.5779 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.737, allocations: 39.53 kB / 0.5779 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006601/0.7377, allocations: 169.3 kB / 0.5781 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7377, allocations: 0 / 0.5781 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7377, allocations: 7.938 kB / 0.5781 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7377, allocations: 0 / 0.5781 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.7393, allocations: 0.5358 MB / 0.5786 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.7394, allocations: 3.953 kB / 0.5786 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.7399, allocations: 36.02 kB / 0.5786 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.74, allocations: 4 kB / 0.5786 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.74, allocations: 3.875 kB / 0.5786 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.74, allocations: 7.938 kB / 0.5787 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7401, allocations: 0 / 0.5787 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.741, allocations: 442 kB / 0.5791 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.7412, allocations: 104.6 kB / 0.5792 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.7413, allocations: 11.97 kB / 0.5792 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.7418, allocations: 0 / 0.5792 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.7419, allocations: 23.69 kB / 0.5792 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.7419, allocations: 4 kB / 0.5792 GB, free: 3.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006036/0.7426, allocations: 253.4 kB / 0.5795 GB, free: 3.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.7426, allocations: 0 / 0.5795 GB, free: 3.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001051/0.7437, allocations: 75.31 kB / 0.5795 GB, free: 3.41 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 () * 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 (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.0002466/0.7439, allocations: 106.9 kB / 0.5796 GB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.7446, allocations: 148.4 kB / 0.5798 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7446, allocations: 4.188 kB / 0.5798 GB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.7449, allocations: 62.42 kB / 0.5798 GB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.7462, allocations: 86.86 kB / 0.5799 GB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.7497, allocations: 1.119 MB / 0.581 GB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.7505, allocations: 0.8559 MB / 0.5818 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.7507, allocations: 31.44 kB / 0.5819 GB, free: 1.055 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7508, allocations: 0 / 0.5819 GB, free: 1.055 MB / 378.7 MB Notification: Performance of Templates: time 0.01799/0.7688, allocations: 4.497 MB / 0.5863 GB, free: 12.61 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)