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.001456/0.001459, allocations: 182.5 kB / 15.76 MB, free: 6.344 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.057/2.057, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001133/0.001133, allocations: 98.73 kB / 270.2 MB, free: 13.35 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.2619/0.2619, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.5904, allocations: 99.52 MB / 0.565 GB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5908, allocations: 94.52 kB / 0.5651 GB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04734/0.6382, allocations: 11.41 MB / 0.5762 GB, free: 6.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6382, allocations: 448 / 0.5762 GB, free: 6.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.6383, allocations: 15.94 kB / 0.5763 GB, free: 6.402 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001563/0.6398, allocations: 0.6673 MB / 0.5769 GB, free: 5.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6399, allocations: 8.031 kB / 0.5769 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.64, allocations: 50.67 kB / 0.577 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.6418, allocations: 0.5691 MB / 0.5775 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.6419, allocations: 57.33 kB / 0.5776 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.642, allocations: 41.53 kB / 0.5776 GB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.6431, allocations: 433.8 kB / 0.578 GB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.6431, allocations: 7.922 kB / 0.578 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.6432, allocations: 14.81 kB / 0.578 GB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6432, allocations: 8 kB / 0.5781 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.644, allocations: 275.9 kB / 0.5783 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.6473, allocations: 1.87 MB / 0.5801 GB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.6479, allocations: 197.8 kB / 0.5803 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.6479, allocations: 8.047 kB / 0.5803 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.648, allocations: 33.75 kB / 0.5804 GB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 3.537e-06/0.648, allocations: 0 / 0.5804 GB, free: 2.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.002067/0.6501, allocations: 0.731 MB / 0.5811 GB, free: 1.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.6501, allocations: 106.8 kB / 0.5812 GB, free: 1.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.6506, allocations: 270.5 kB / 0.5814 GB, free: 1.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.6506, allocations: 32.89 kB / 0.5815 GB, free: 1.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.6508, allocations: 294.9 kB / 0.5818 GB, free: 1.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.6509, allocations: 69.06 kB / 0.5818 GB, free: 1.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.651, allocations: 5.938 kB / 0.5818 GB, free: 1.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6511, allocations: 325.1 kB / 0.5821 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.6514, allocations: 70.69 kB / 0.5822 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.6518, allocations: 204.5 kB / 0.5824 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.6521, allocations: 111.8 kB / 0.5825 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.6521, allocations: 4 kB / 0.5825 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008889/0.653, allocations: 310.7 kB / 0.5828 GB, free: 280 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.6531, allocations: 11.95 kB / 0.5828 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6531, allocations: 4 kB / 0.5828 GB, free: 264 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.6531, allocations: 8 kB / 0.5828 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.6537, allocations: 83.64 kB / 0.5829 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.6537, allocations: 4 kB / 0.5829 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.6541, allocations: 21.38 kB / 0.5829 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.6541, allocations: 19.19 kB / 0.583 GB, free: 140 kB / 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 () * Number of clocked 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.0003205/0.6545, allocations: 184.3 kB / 0.5831 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.6546, allocations: 31.62 kB / 0.5832 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.6553, allocations: 204 kB / 0.5834 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.6553, allocations: 4 kB / 0.5834 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6553, allocations: 4 kB / 0.5834 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.6553, allocations: 3.984 kB / 0.5834 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.6568, allocations: 0.6336 MB / 0.584 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6568, allocations: 0 / 0.584 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.6573, allocations: 43.91 kB / 0.584 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6573, allocations: 11.97 kB / 0.584 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.6574, allocations: 3.812 kB / 0.584 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.6574, allocations: 8 kB / 0.584 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6574, allocations: 0 / 0.584 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.6585, allocations: 499.7 kB / 0.5845 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.6587, allocations: 103.9 kB / 0.5846 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.6588, allocations: 6.875 kB / 0.5846 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.6591, allocations: 4 kB / 0.5846 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.6592, allocations: 30.91 kB / 0.5847 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.6592, allocations: 7.062 kB / 0.5847 GB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003565/0.6596, allocations: 214.2 kB / 0.5849 GB, free: 14.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6596, allocations: 0 / 0.5849 GB, free: 14.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006409/0.6603, allocations: 78 kB / 0.5849 GB, free: 14.29 MB / 394.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 () * Number of clocked 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.0002358/0.6605, allocations: 121.5 kB / 0.5851 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.6612, allocations: 206.1 kB / 0.5853 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6612, allocations: 0 / 0.5853 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.6615, allocations: 86.64 kB / 0.5853 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.6623, allocations: 81.27 kB / 0.5854 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.6649, allocations: 1.151 MB / 0.5865 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.6654, allocations: 0.8268 MB / 0.5874 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6655, allocations: 31.44 kB / 0.5874 GB, free: 11.88 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6655, allocations: 3.938 kB / 0.5874 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Templates: time 0.01044/0.676, allocations: 4.6 MB / 0.5919 GB, free: 7.352 MB / 394.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)