Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008968/0.0008967, allocations: 95.64 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 45.14 MB / 383.7 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.069e-05, allocations: 0 / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09151, allocations: 63.25 MB / 0.5044 GB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4351, allocations: 97.73 MB / 0.5998 GB, free: 5.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.4354, allocations: 81.02 kB / 0.5999 GB, free: 4.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03253/0.4679, allocations: 13.48 MB / 0.613 GB, free: 10 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.468, allocations: 0 / 0.613 GB, free: 10 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.195e-05/0.468, allocations: 23.94 kB / 0.6131 GB, free: 9.977 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001214/0.4692, allocations: 0.8243 MB / 0.6139 GB, free: 9.145 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4693, allocations: 8.031 kB / 0.6139 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.4694, allocations: 86.95 kB / 0.614 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.4701, allocations: 0.4884 MB / 0.6144 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.4701, allocations: 16 kB / 0.6144 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/0.4702, allocations: 36 kB / 0.6145 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006438/0.4708, allocations: 324.9 kB / 0.6148 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008037/0.4716, allocations: 478 kB / 0.6152 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4717, allocations: 0 / 0.6152 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.4717, allocations: 4 kB / 0.6153 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4717, allocations: 12 kB / 0.6153 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.4745, allocations: 2.083 MB / 0.6173 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.4753, allocations: 0.4996 MB / 0.6178 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4755, allocations: 136.5 kB / 0.6179 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.4756, allocations: 4 kB / 0.6179 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4756, allocations: 34.12 kB / 0.618 GB, free: 5.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.4756, allocations: 0 / 0.618 GB, free: 5.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00124/0.4768, allocations: 0.7813 MB / 0.6187 GB, free: 4.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4769, allocations: 59.41 kB / 0.6188 GB, free: 4.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.4773, allocations: 386.7 kB / 0.6191 GB, free: 4.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4774, allocations: 25.7 kB / 0.6192 GB, free: 4.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.4776, allocations: 349.1 kB / 0.6195 GB, free: 4.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4777, allocations: 119 kB / 0.6196 GB, free: 4.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.4778, allocations: 0 / 0.6196 GB, free: 4.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.478, allocations: 358.9 kB / 0.62 GB, free: 3.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.4781, allocations: 103.2 kB / 0.6201 GB, free: 3.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.4783, allocations: 174.9 kB / 0.6202 GB, free: 3.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.4785, allocations: 125 kB / 0.6203 GB, free: 3.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4786, allocations: 0 / 0.6203 GB, free: 3.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005671/0.4791, allocations: 373.8 kB / 0.6207 GB, free: 3.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.4795, allocations: 0.8717 MB / 0.6215 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4795, allocations: 11.94 kB / 0.6216 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.4796, allocations: 20.3 kB / 0.6216 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.4801, allocations: 111.4 kB / 0.6217 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009198/0.481, allocations: 1.237 MB / 0.6229 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.4812, allocations: 20.14 kB / 0.6229 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.4813, allocations: 18.62 kB / 0.6229 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4813, allocations: 4 kB / 0.6229 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004272/0.4817, allocations: 290.4 kB / 0.6232 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.4817, allocations: 0 / 0.6232 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.804e-05/0.4818, allocations: 33 kB / 0.6232 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.4821, allocations: 87.89 kB / 0.6233 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007437/0.4829, allocations: 1.235 MB / 0.6245 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.4831, allocations: 4 kB / 0.6245 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4831, allocations: 19.33 kB / 0.6246 GB, free: 15.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.859e-05/0.4832, allocations: 124.8 kB / 0.6247 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.4833, allocations: 51.34 kB / 0.6247 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.4834, allocations: 46.05 kB / 0.6248 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4834, allocations: 8.094 kB / 0.6248 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4834, allocations: 0 / 0.6248 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4834, allocations: 3.984 kB / 0.6248 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4846, allocations: 0.9036 MB / 0.6257 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4846, allocations: 4 kB / 0.6257 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.485, allocations: 78.45 kB / 0.6257 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.461e-05/0.485, allocations: 19.98 kB / 0.6258 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.4851, allocations: 3.953 kB / 0.6258 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000701/0.4858, allocations: 1.234 MB / 0.627 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4858, allocations: 0 / 0.627 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.4864, allocations: 0.5427 MB / 0.6275 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.4865, allocations: 127 kB / 0.6276 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.4865, allocations: 2.25 kB / 0.6276 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.4868, allocations: 27.98 kB / 0.6276 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.4869, allocations: 23.28 kB / 0.6277 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.4869, allocations: 7 kB / 0.6277 GB, free: 12.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.4872, allocations: 300.8 kB / 0.628 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4872, allocations: 0 / 0.628 GB, free: 12.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.4878, allocations: 167.6 kB / 0.6281 GB, free: 11.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003081/0.4881, allocations: 179.4 kB / 0.6283 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.489, allocations: 0.6445 MB / 0.6289 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4891, allocations: 4 kB / 0.6289 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.4894, allocations: 230.6 kB / 0.6291 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.4899, allocations: 93.48 kB / 0.6292 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.4915, allocations: 0.9278 MB / 0.6301 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.492, allocations: 0.9065 MB / 0.631 GB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.4923, allocations: 86.2 kB / 0.6311 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.4924, allocations: 27.44 kB / 0.6311 GB, free: 8.969 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4924, allocations: 0 / 0.6311 GB, free: 8.969 MB / 426.7 MB Notification: Performance of Templates: time 0.009466/0.5019, allocations: 5.464 MB / 0.6365 GB, free: 3.543 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1)