Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 169.9 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.096/3.096, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 89.97 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.508/0.508, allocations: 38.08 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005565, allocations: 12 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6017, allocations: 56.31 MB / 480.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/0.8509, allocations: 94.45 MB / 0.5612 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004039/0.8514, allocations: 87.95 kB / 0.5613 GB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03718/0.8886, allocations: 9.857 MB / 0.571 GB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.8887, allocations: 0 / 0.571 GB, free: 13.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.8887, allocations: 4 kB / 0.571 GB, free: 13.84 MB / 410.7 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.0009563/0.8897, allocations: 495.4 kB / 0.5714 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.8897, allocations: 12.03 kB / 0.5714 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.8909, allocations: 92.55 kB / 0.5715 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.8915, allocations: 272 kB / 0.5718 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.8915, allocations: 12.69 kB / 0.5718 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.8916, allocations: 16.38 kB / 0.5718 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.8923, allocations: 256.5 kB / 0.5721 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.8923, allocations: 4.094 kB / 0.5721 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.8924, allocations: 11.94 kB / 0.5721 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.8924, allocations: 24.31 kB / 0.5721 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.893, allocations: 200.8 kB / 0.5723 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.8954, allocations: 1.218 MB / 0.5735 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.8957, allocations: 117.2 kB / 0.5736 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.8959, allocations: 41.81 kB / 0.5736 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.8959, allocations: 7.984 kB / 0.5736 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.8959, allocations: 30.56 kB / 0.5737 GB, free: 10.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.898e-06/0.896, allocations: 4 kB / 0.5737 GB, free: 10.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005261/0.8965, allocations: 157.2 kB / 0.5738 GB, free: 10.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.8966, allocations: 77.11 kB / 0.5739 GB, free: 10.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.8969, allocations: 210.7 kB / 0.5741 GB, free: 10.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.8969, allocations: 29.7 kB / 0.5741 GB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.8971, allocations: 163.8 kB / 0.5743 GB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.8971, allocations: 43.39 kB / 0.5743 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.8972, allocations: 4 kB / 0.5743 GB, free: 10.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8973, allocations: 331 kB / 0.5746 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.8975, allocations: 35.98 kB / 0.5747 GB, free: 9.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.8976, allocations: 122.9 kB / 0.5748 GB, free: 9.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.898, allocations: 174.6 kB / 0.575 GB, free: 9.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.898, allocations: 0 / 0.575 GB, free: 9.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004693/0.8985, allocations: 201.4 kB / 0.5751 GB, free: 9.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.8985, allocations: 10.25 kB / 0.5752 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8985, allocations: 4 kB / 0.5752 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.8986, allocations: 7.984 kB / 0.5752 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.8989, allocations: 47.92 kB / 0.5752 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.8989, allocations: 11.88 kB / 0.5752 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.8991, allocations: 19.75 kB / 0.5752 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.8992, allocations: 11.98 kB / 0.5753 GB, free: 9.055 MB / 410.7 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): 23 * 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.0002204/0.8994, allocations: 145.7 kB / 0.5754 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.8995, allocations: 23.8 kB / 0.5754 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.8998, allocations: 127 kB / 0.5755 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8999, allocations: 0 / 0.5755 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.8999, allocations: 7.922 kB / 0.5755 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.8999, allocations: 0 / 0.5755 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.9009, allocations: 0.5383 MB / 0.5761 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.901, allocations: 4 kB / 0.5761 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.9012, allocations: 23.98 kB / 0.5761 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.9012, allocations: 7.984 kB / 0.5761 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.9012, allocations: 8 kB / 0.5761 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.9012, allocations: 3.938 kB / 0.5761 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9013, allocations: 4 kB / 0.5761 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.9018, allocations: 321.3 kB / 0.5764 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.902, allocations: 100.9 kB / 0.5765 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.902, allocations: 12.06 kB / 0.5765 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.9022, allocations: 0 / 0.5765 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.9023, allocations: 15.98 kB / 0.5766 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.9023, allocations: 4 kB / 0.5766 GB, free: 7.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.9025, allocations: 148.5 kB / 0.5767 GB, free: 7.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9025, allocations: 0 / 0.5767 GB, free: 7.434 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00066/0.9032, allocations: 51.84 kB / 0.5767 GB, free: 7.383 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 12 * 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.0001849/0.9034, allocations: 119.2 kB / 0.5769 GB, free: 7.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.9038, allocations: 111.8 kB / 0.577 GB, free: 7.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9038, allocations: 3.938 kB / 0.577 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.904, allocations: 52.86 kB / 0.577 GB, free: 7.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.9047, allocations: 39.77 kB / 0.5771 GB, free: 7.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.9064, allocations: 0.6666 MB / 0.5777 GB, free: 6.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.9068, allocations: 0.7401 MB / 0.5784 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.9068, allocations: 15.44 kB / 0.5784 GB, free: 5.555 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.9069, allocations: 4 kB / 0.5785 GB, free: 5.551 MB / 410.7 MB Notification: Performance of Templates: time 0.005759/0.9126, allocations: 2.216 MB / 0.5806 GB, free: 3.336 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1)