Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001429, allocations: 181.6 kB / 8.012 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.027/2.027, 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.001056/0.001056, allocations: 82.7 kB / 261.8 MB, free: 1.672 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.2814/0.2814, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.445e-05/1.443e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5733, allocations: 98.77 MB / 0.5517 GB, free: 9.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5736, allocations: 92.48 kB / 0.5518 GB, free: 9.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0416/0.6152, allocations: 11.28 MB / 0.5628 GB, free: 3.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6153, allocations: 0 / 0.5628 GB, free: 3.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.6153, allocations: 12 kB / 0.5628 GB, free: 3.051 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001201/0.6165, allocations: 0.6293 MB / 0.5634 GB, free: 2.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6166, allocations: 8.031 kB / 0.5634 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.6167, allocations: 51.39 kB / 0.5635 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.6182, allocations: 0.5517 MB / 0.564 GB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.6184, allocations: 50.47 kB / 0.5641 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.6185, allocations: 20 kB / 0.5641 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006004/0.6191, allocations: 222.9 kB / 0.5643 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.6198, allocations: 370.1 kB / 0.5647 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.6198, allocations: 4 kB / 0.5647 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.6199, allocations: 0 / 0.5647 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.6199, allocations: 8 kB / 0.5647 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.6226, allocations: 1.798 MB / 0.5664 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.6229, allocations: 165 kB / 0.5666 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.6231, allocations: 60.77 kB / 0.5666 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.6231, allocations: 4 kB / 0.5667 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6232, allocations: 42.48 kB / 0.5667 GB, free: 15.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/0.6232, allocations: 0 / 0.5667 GB, free: 15.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001376/0.6246, allocations: 0.6121 MB / 0.5673 GB, free: 14.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.6247, allocations: 106.8 kB / 0.5674 GB, free: 14.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.625, allocations: 235.2 kB / 0.5676 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.6251, allocations: 25.7 kB / 0.5676 GB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.6253, allocations: 306.1 kB / 0.5679 GB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.6254, allocations: 64.11 kB / 0.568 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.6254, allocations: 0 / 0.568 GB, free: 14.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6255, allocations: 320.8 kB / 0.5683 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.6257, allocations: 65.08 kB / 0.5684 GB, free: 13.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.626, allocations: 183.7 kB / 0.5685 GB, free: 13.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.6262, allocations: 95.02 kB / 0.5686 GB, free: 13.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.6262, allocations: 0 / 0.5686 GB, free: 13.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006287/0.6269, allocations: 264.1 kB / 0.5689 GB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6269, allocations: 8 kB / 0.5689 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6269, allocations: 4.562 kB / 0.5689 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.627, allocations: 15.95 kB / 0.5689 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6276, allocations: 82.95 kB / 0.569 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.6276, allocations: 8 kB / 0.569 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.6279, allocations: 4 kB / 0.569 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.628, allocations: 12 kB / 0.569 GB, free: 13.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * 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.0001209/0.6281, allocations: 124.1 kB / 0.5691 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.6282, allocations: 35.61 kB / 0.5692 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.6287, allocations: 166.1 kB / 0.5693 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6287, allocations: 7.938 kB / 0.5693 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.6287, allocations: 7.938 kB / 0.5693 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6287, allocations: 0 / 0.5693 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.6298, allocations: 0.5486 MB / 0.5699 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6298, allocations: 0 / 0.5699 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.6303, allocations: 47.94 kB / 0.5699 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6303, allocations: 4 kB / 0.5699 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.6304, allocations: 14.95 kB / 0.5699 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6304, allocations: 0 / 0.5699 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6304, allocations: 0 / 0.5699 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.6311, allocations: 460.7 kB / 0.5704 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6312, allocations: 104.5 kB / 0.5705 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.6313, allocations: 0 / 0.5705 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.6316, allocations: 4 kB / 0.5705 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.6317, allocations: 15.97 kB / 0.5705 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.6317, allocations: 7.938 kB / 0.5705 GB, free: 11.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.6319, allocations: 178.9 kB / 0.5707 GB, free: 11.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.632, allocations: 0 / 0.5707 GB, free: 11.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006387/0.6326, allocations: 67.98 kB / 0.5707 GB, free: 11.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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.0002289/0.6328, allocations: 137.1 kB / 0.5709 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.6333, allocations: 163.7 kB / 0.571 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6333, allocations: 0 / 0.571 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.6335, allocations: 74.23 kB / 0.5711 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.6342, allocations: 67.52 kB / 0.5712 GB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.6362, allocations: 0.7021 MB / 0.5718 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.6367, allocations: 0.8222 MB / 0.5726 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.6368, allocations: 27.44 kB / 0.5727 GB, free: 9.617 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6368, allocations: 0 / 0.5727 GB, free: 9.617 MB / 378.7 MB Notification: Performance of Templates: time 0.01058/0.6474, allocations: 4.298 MB / 0.5769 GB, free: 5.391 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1)