Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002042/0.002042, allocations: 185.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 90.45 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2697/0.2697, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.652e-05, allocations: 4 kB / 409.9 MB, free: 35.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1612, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.6499, allocations: 96.94 MB / 0.5499 GB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.6502, allocations: 90.86 kB / 0.55 GB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03976/0.69, allocations: 9.82 MB / 0.5596 GB, free: 5.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6901, allocations: 192 / 0.5596 GB, free: 5.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.52e-05/0.6901, allocations: 15.94 kB / 0.5596 GB, free: 5.559 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001144/0.6913, allocations: 0.5781 MB / 0.5602 GB, free: 4.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.6913, allocations: 8.031 kB / 0.5602 GB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.6915, allocations: 44.23 kB / 0.5602 GB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.6935, allocations: 0.6084 MB / 0.5608 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.6936, allocations: 8 kB / 0.5608 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.6937, allocations: 19.91 kB / 0.5609 GB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004805/0.6942, allocations: 166.8 kB / 0.561 GB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.6947, allocations: 302.8 kB / 0.5613 GB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.6948, allocations: 0 / 0.5613 GB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.6948, allocations: 0 / 0.5613 GB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.6949, allocations: 19.88 kB / 0.5613 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.6968, allocations: 1.423 MB / 0.5627 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.6973, allocations: 186 kB / 0.5629 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6975, allocations: 68.67 kB / 0.5629 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.6975, allocations: 4 kB / 0.563 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.6975, allocations: 34.31 kB / 0.563 GB, free: 2.305 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 4.178e-06/0.6975, allocations: 0 / 0.563 GB, free: 2.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001278/0.6988, allocations: 0.6044 MB / 0.5636 GB, free: 1.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.6989, allocations: 132.5 kB / 0.5637 GB, free: 1.531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.6992, allocations: 236.2 kB / 0.5639 GB, free: 1.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.6993, allocations: 25.7 kB / 0.564 GB, free: 1.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6994, allocations: 266.5 kB / 0.5642 GB, free: 1.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.6995, allocations: 62.88 kB / 0.5643 GB, free: 1.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.6995, allocations: 4 kB / 0.5643 GB, free: 1.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.6996, allocations: 326.6 kB / 0.5646 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.6997, allocations: 43.73 kB / 0.5646 GB, free: 0.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.6999, allocations: 142.6 kB / 0.5648 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.7001, allocations: 68.22 kB / 0.5648 GB, free: 468 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7001, allocations: 0 / 0.5648 GB, free: 468 kB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000466/0.7006, allocations: 212.3 kB / 0.565 GB, free: 284 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.7006, allocations: 4 kB / 0.565 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7007, allocations: 7.938 kB / 0.565 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.7007, allocations: 4 kB / 0.565 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.7013, allocations: 78.78 kB / 0.5651 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.7026, allocations: 1.241 MB / 0.5663 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.7029, allocations: 7.953 kB / 0.5663 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.703, allocations: 12 kB / 0.5663 GB, free: 14.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.7031, allocations: 112.1 kB / 0.5665 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.7032, allocations: 31.75 kB / 0.5665 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.7038, allocations: 169.7 kB / 0.5666 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.7038, allocations: 4 kB / 0.5667 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7038, allocations: 0 / 0.5667 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7038, allocations: 0 / 0.5667 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.7049, allocations: 494 kB / 0.5671 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.7049, allocations: 4 kB / 0.5671 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.7054, allocations: 43.95 kB / 0.5672 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.7054, allocations: 0 / 0.5672 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.7054, allocations: 4 kB / 0.5672 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7055, allocations: 0 / 0.5672 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7055, allocations: 0 / 0.5672 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.7062, allocations: 0.5107 MB / 0.5677 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.7063, allocations: 104.7 kB / 0.5678 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.7064, allocations: 4 kB / 0.5678 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.7068, allocations: 4.031 kB / 0.5678 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.7068, allocations: 11.11 kB / 0.5678 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.7069, allocations: 8 kB / 0.5678 GB, free: 13.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000269/0.7071, allocations: 185 kB / 0.568 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7072, allocations: 0 / 0.568 GB, free: 13.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006781/0.7078, allocations: 52 kB / 0.568 GB, free: 13.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0002926/0.7081, allocations: 138.2 kB / 0.5682 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.7088, allocations: 140.3 kB / 0.5683 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7088, allocations: 192 / 0.5683 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.709, allocations: 67.12 kB / 0.5684 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.7098, allocations: 69.67 kB / 0.5684 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.7118, allocations: 0.6066 MB / 0.569 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.7124, allocations: 0.8101 MB / 0.5698 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.7125, allocations: 27.44 kB / 0.5698 GB, free: 11.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7125, allocations: 0 / 0.5698 GB, free: 11.43 MB / 378.7 MB Notification: Performance of Templates: time 0.01186/0.7244, allocations: 4.566 MB / 0.5743 GB, free: 6.914 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)