Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 105.4 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001479, allocations: 193.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 55.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01083/0.1396, allocations: 7.903 MB / 334 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.1453, allocations: 2.607 MB / 336.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.147, allocations: 23.94 kB / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.149, allocations: 0.4903 MB / 337.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.1508, allocations: 389.2 kB / 337.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.1514, allocations: 203.9 kB / 337.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.153, allocations: 1.428 MB / 339.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000871/0.1539, allocations: 0.5924 MB / 339.8 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000808/0.1547, allocations: 0.5408 MB / 340.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.1554, allocations: 0.5833 MB / 340.9 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.1556, allocations: 136 kB / 341 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.156, allocations: 176 kB / 341.2 MB, free: 5.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.1562, allocations: 263 kB / 341.5 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.1569, allocations: 0.6532 MB / 342.1 MB, free: 4.727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.1586, allocations: 1.678 MB / 343.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1586, allocations: 8 kB / 343.8 MB, free: 3.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1586, allocations: 0 / 343.8 MB, free: 3.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.1587, allocations: 0 / 343.8 MB, free: 3.035 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002471/0.1611, allocations: 1.422 MB / 345.2 MB, free: 1.559 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1612, allocations: 8.031 kB / 345.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.1618, allocations: 167.4 kB / 345.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1629, allocations: 0.7261 MB / 346.1 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.163, allocations: 66 kB / 346.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.1632, allocations: 99.91 kB / 346.3 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1648, allocations: 0.9229 MB / 347.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.1649, allocations: 4 kB / 347.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/0.165, allocations: 43.98 kB / 347.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.165, allocations: 27.94 kB / 347.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1661, allocations: 0.6207 MB / 347.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.1712, allocations: 3.909 MB / 351.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.1718, allocations: 355.6 kB / 352.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.1721, allocations: 148.1 kB / 352.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.1722, allocations: 8 kB / 352.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.1722, allocations: 30.56 kB / 352.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.1722, allocations: 0 / 352.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002708/0.175, allocations: 1.205 MB / 353.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.1751, allocations: 81.11 kB / 353.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1762, allocations: 0.8252 MB / 354.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1763, allocations: 33.7 kB / 354.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.1769, allocations: 0.5679 MB / 355 MB, free: 7.262 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.177, allocations: 126.2 kB / 355.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.1772, allocations: 130.5 kB / 355.3 MB, free: 7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1774, allocations: 333.9 kB / 355.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.1777, allocations: 149.9 kB / 355.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.1782, allocations: 456 kB / 356.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.1791, allocations: 0.6314 MB / 356.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1792, allocations: 4 kB / 356.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001122/0.1803, allocations: 0.7003 MB / 357.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1803, allocations: 8 kB / 357.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.1803, allocations: 12 kB / 357.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.1805, allocations: 32.84 kB / 357.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.181, allocations: 155.7 kB / 357.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1822, allocations: 1.394 MB / 359.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.1828, allocations: 40.14 kB / 359.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.1828, allocations: 32.05 kB / 359.2 MB, free: 2.637 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004497/0.1833, allocations: 257.5 kB / 359.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.1834, allocations: 86.91 kB / 359.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.1842, allocations: 382.4 kB / 359.9 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1842, allocations: 7.984 kB / 359.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1842, allocations: 0 / 359.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1842, allocations: 0 / 359.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.1862, allocations: 1.265 MB / 361.2 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1863, allocations: 4 kB / 361.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.1866, allocations: 76.05 kB / 361.3 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-05/0.1867, allocations: 20.86 kB / 361.3 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1867, allocations: 8 kB / 361.3 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.188, allocations: 1.375 MB / 362.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.188, allocations: 4.031 kB / 362.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.1893, allocations: 0.6271 MB / 363.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.1896, allocations: 184.2 kB / 363.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.1897, allocations: 8 kB / 363.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.1901, allocations: 35.84 kB / 363.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.1902, allocations: 27.97 kB / 363.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1902, allocations: 12 kB / 363.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009292/0.1912, allocations: 0.5576 MB / 364.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1912, allocations: 0 / 364.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009677/0.1922, allocations: 191.9 kB / 364.3 MB, free: 13.24 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003959/0.1926, allocations: 127.2 kB / 364.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1939, allocations: 0.527 MB / 365 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1939, allocations: 0 / 365 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.1944, allocations: 270.4 kB / 365.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.1958, allocations: 224.2 kB / 365.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.1997, allocations: 2.097 MB / 367.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.2005, allocations: 0.9962 MB / 368.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004655/0.201, allocations: 102.9 kB / 368.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2011, allocations: 55.42 kB / 368.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2012, allocations: 0 / 368.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of Templates: time 0.2404/0.4416, allocations: 9.366 MB / 378.1 MB, free: 52.93 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)