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.001582/0.001582, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001414/0.001414, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.914/1.914, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001522/0.001522, allocations: 55.91 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.144, allocations: 46.64 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.012/0.156, allocations: 7.895 MB / 333.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.1625, allocations: 2.607 MB / 336.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.1643, allocations: 23.94 kB / 336.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.1665, allocations: 498.1 kB / 337 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.1688, allocations: 393.2 kB / 337.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.1696, allocations: 207.9 kB / 337.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.1718, allocations: 1.358 MB / 338.9 MB, free: 7.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009129/0.1728, allocations: 0.5045 MB / 339.4 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009278/0.1737, allocations: 493.7 kB / 339.9 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.1744, allocations: 0.552 MB / 340.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.1746, allocations: 84 kB / 340.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.175, allocations: 120 kB / 340.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.1752, allocations: 223 kB / 340.9 MB, free: 5.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007091/0.1759, allocations: 0.5907 MB / 341.5 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1776, allocations: 1.647 MB / 343.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1776, allocations: 0 / 343.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1776, allocations: 4 kB / 343.1 MB, free: 3.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1776, allocations: 0 / 343.1 MB, free: 3.613 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.002576/0.1802, allocations: 1.429 MB / 344.6 MB, free: 2.129 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1803, allocations: 8.031 kB / 344.6 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/0.1809, allocations: 167.4 kB / 344.7 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.1821, allocations: 0.7184 MB / 345.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.1822, allocations: 74 kB / 345.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.1823, allocations: 99.91 kB / 345.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.184, allocations: 0.9151 MB / 346.5 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.184, allocations: 8 kB / 346.5 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.1841, allocations: 40 kB / 346.6 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.1841, allocations: 24 kB / 346.6 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1853, allocations: 0.6246 MB / 347.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.191, allocations: 3.916 MB / 351.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.1916, allocations: 351.6 kB / 351.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.1919, allocations: 151.9 kB / 351.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.192, allocations: 8 kB / 351.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.192, allocations: 38.56 kB / 351.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.192, allocations: 0 / 351.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002779/0.1948, allocations: 1.198 MB / 352.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1949, allocations: 81.11 kB / 353 MB, free: 9.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.196, allocations: 0.8253 MB / 353.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1961, allocations: 29.7 kB / 353.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.1965, allocations: 0.564 MB / 354.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1966, allocations: 130.2 kB / 354.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1967, allocations: 130.5 kB / 354.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1969, allocations: 330 kB / 355 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1973, allocations: 145.9 kB / 355.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.1978, allocations: 464 kB / 355.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.1988, allocations: 0.6353 MB / 356.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1988, allocations: 4 kB / 356.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00117/0.2, allocations: 0.6886 MB / 356.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.2, allocations: 12.03 kB / 356.9 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.2, allocations: 16 kB / 356.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.2002, allocations: 28.86 kB / 356.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.2007, allocations: 159.7 kB / 357.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.202, allocations: 1.299 MB / 358.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/0.2027, allocations: 35.98 kB / 358.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.2028, allocations: 35.94 kB / 358.5 MB, free: 3.312 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.0006139/0.2034, allocations: 257.7 kB / 358.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2036, allocations: 87 kB / 358.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/0.2044, allocations: 386 kB / 359.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2045, allocations: 4 kB / 359.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2045, allocations: 0 / 359.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2045, allocations: 4 kB / 359.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.207, allocations: 1.265 MB / 360.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.207, allocations: 4 kB / 360.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.2073, allocations: 71.89 kB / 360.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.2074, allocations: 20.84 kB / 360.5 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2075, allocations: 8 kB / 360.5 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.2085, allocations: 1.28 MB / 361.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2085, allocations: 4 kB / 361.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2096, allocations: 0.6276 MB / 362.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.2099, allocations: 188.2 kB / 362.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.355e-05/0.21, allocations: 11.98 kB / 362.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.2104, allocations: 19.98 kB / 362.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2105, allocations: 35.84 kB / 362.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.2105, allocations: 16 kB / 362.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007352/0.2113, allocations: 0.5576 MB / 363.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2113, allocations: 0 / 363.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007701/0.2121, allocations: 191.9 kB / 363.5 MB, free: 14.01 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.0002301/0.2123, allocations: 123.1 kB / 363.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.2133, allocations: 0.5109 MB / 364.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2133, allocations: 4 kB / 364.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.2137, allocations: 271.9 kB / 364.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.2149, allocations: 199.5 kB / 364.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.2182, allocations: 2.107 MB / 366.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.2189, allocations: 0.9884 MB / 367.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.2193, allocations: 106.9 kB / 367.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2194, allocations: 51.44 kB / 367.8 MB, free: 9.551 MB / 318.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2194, allocations: 0 / 367.8 MB, free: 9.551 MB / 318.1 MB Notification: Performance of Templates: time 0.0193/0.2387, allocations: 8.984 MB / 376.8 MB, free: 0.5664 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)