Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.008253/0.008253, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001678/0.001678, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.957/1.957, allocations: 205.1 MB / 222.6 MB, free: 4.371 MB / 174.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.001704/0.001704, allocations: 54.33 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1334, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01205/0.1455, allocations: 7.939 MB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.1516, allocations: 2.63 MB / 383.7 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1529, allocations: 27.88 kB / 383.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.1546, allocations: 0.5519 MB / 384.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.1559, allocations: 452.4 kB / 384.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.1565, allocations: 239.8 kB / 385 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.1581, allocations: 1.436 MB / 386.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/0.1591, allocations: 0.5885 MB / 387 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.1598, allocations: 0.5447 MB / 387.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.1605, allocations: 0.5755 MB / 388.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.1607, allocations: 136 kB / 388.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.161, allocations: 176 kB / 388.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1613, allocations: 278.9 kB / 388.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.1619, allocations: 0.6454 MB / 389.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.1638, allocations: 1.693 MB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1638, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1638, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.1638, allocations: 0 / 391.1 MB, free: 15.3 MB / 334.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.002564/0.1664, allocations: 1.441 MB / 392.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1665, allocations: 12.03 kB / 392.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005556/0.167, allocations: 167.4 kB / 392.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1684, allocations: 0.7262 MB / 393.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.1685, allocations: 66 kB / 393.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1686, allocations: 103.9 kB / 393.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.1703, allocations: 0.919 MB / 394.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.1703, allocations: 8 kB / 394.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.1704, allocations: 36 kB / 394.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.1704, allocations: 24 kB / 394.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.1717, allocations: 0.6207 MB / 395.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.1767, allocations: 3.877 MB / 399.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.1773, allocations: 352.7 kB / 399.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.1776, allocations: 148.8 kB / 399.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1777, allocations: 0 / 399.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1777, allocations: 38.56 kB / 399.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.1777, allocations: 0 / 399.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00263/0.1804, allocations: 1.201 MB / 400.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.1804, allocations: 81.11 kB / 400.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.1817, allocations: 0.8213 MB / 401.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.1817, allocations: 37.7 kB / 401.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.1822, allocations: 0.5679 MB / 402.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1823, allocations: 130.2 kB / 402.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.1825, allocations: 122.5 kB / 402.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1827, allocations: 337.9 kB / 402.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.183, allocations: 149.9 kB / 403 MB, free: 2.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.1837, allocations: 459.9 kB / 403.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/0.1846, allocations: 0.6398 MB / 404.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1846, allocations: 4 kB / 404.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001301/0.1859, allocations: 0.6847 MB / 404.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.186, allocations: 16.06 kB / 404.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.186, allocations: 8 kB / 404.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.1862, allocations: 36.84 kB / 404.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.1867, allocations: 151.8 kB / 405 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.1882, allocations: 1.386 MB / 406.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.1889, allocations: 39.89 kB / 406.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.189, allocations: 40.11 kB / 406.5 MB, free: 14.93 MB / 350.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.0005521/0.1895, allocations: 253.5 kB / 406.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1897, allocations: 86.91 kB / 406.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.1905, allocations: 366.6 kB / 407.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1905, allocations: 4 kB / 407.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1906, allocations: 4 kB / 407.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1906, allocations: 3.984 kB / 407.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.1929, allocations: 1.273 MB / 408.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1929, allocations: 0 / 408.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.1932, allocations: 75.84 kB / 408.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.1934, allocations: 20.84 kB / 408.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.1934, allocations: 12.05 kB / 408.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1946, allocations: 1.379 MB / 409.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1947, allocations: 8.094 kB / 409.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.1959, allocations: 0.6355 MB / 410.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.1962, allocations: 188.1 kB / 410.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1964, allocations: 8 kB / 410.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.1967, allocations: 35.91 kB / 410.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.1968, allocations: 23.97 kB / 410.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1968, allocations: 8 kB / 410.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008253/0.1977, allocations: 0.5615 MB / 411.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1977, allocations: 0 / 411.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008382/0.1985, allocations: 188 kB / 411.6 MB, free: 9.512 MB / 350.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.0003015/0.1988, allocations: 123.2 kB / 411.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1999, allocations: 0.5105 MB / 412.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1999, allocations: 2 kB / 412.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.2003, allocations: 266.9 kB / 412.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2015, allocations: 203.1 kB / 412.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.2049, allocations: 1.698 MB / 414.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.2056, allocations: 0.9923 MB / 415.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000389/0.206, allocations: 106.9 kB / 415.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.2063, allocations: 55.44 kB / 415.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2063, allocations: 0 / 415.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.02452/0.2308, allocations: 9.832 MB / 425.3 MB, free: 11.61 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)