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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.226/1.226, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001537/0.001537, allocations: 107 kB / 256.9 MB, free: 4.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.08028, allocations: 44.48 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/0.329, allocations: 92.77 MB / 447.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3293, allocations: 86.77 kB / 447.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06243/0.3918, allocations: 26.17 MB / 474.1 MB, free: 5.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3918, allocations: 4.594 kB / 474.1 MB, free: 5.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.036e-05/0.3918, allocations: 24 kB / 474.1 MB, free: 5.098 MB / 346.7 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.001819/0.3937, allocations: 1.242 MB / 475.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3937, allocations: 8.031 kB / 475.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.3942, allocations: 174.5 kB / 475.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.3954, allocations: 0.7612 MB / 476.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.3955, allocations: 78 kB / 476.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3956, allocations: 103.9 kB / 476.5 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.397, allocations: 0.9151 MB / 477.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.397, allocations: 0 / 477.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.3971, allocations: 44 kB / 477.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3971, allocations: 24 kB / 477.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3982, allocations: 0.6403 MB / 478.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.4025, allocations: 3.949 MB / 482 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.403, allocations: 356.4 kB / 482.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.403, allocations: 4.281 kB / 482.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.4031, allocations: 38.84 kB / 482.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.4031, allocations: 0 / 482.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001988/0.4051, allocations: 1.239 MB / 483.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.4051, allocations: 93.03 kB / 483.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.4059, allocations: 0.6917 MB / 484.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.406, allocations: 29.7 kB / 484.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.4063, allocations: 0.5601 MB / 485 MB, free: 9.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.4064, allocations: 134.2 kB / 485.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.4065, allocations: 12 kB / 485.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4066, allocations: 337.9 kB / 485.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.4069, allocations: 157.9 kB / 485.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.4074, allocations: 460.1 kB / 486.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.4077, allocations: 232.2 kB / 486.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4077, allocations: 4 kB / 486.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001027/0.4088, allocations: 0.7119 MB / 487.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4088, allocations: 13.25 kB / 487.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4088, allocations: 8 kB / 487.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.409, allocations: 32.86 kB / 487.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.4094, allocations: 163.7 kB / 487.3 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008718/0.4103, allocations: 1.295 MB / 488.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.4108, allocations: 44.23 kB / 488.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.4108, allocations: 32 kB / 488.6 MB, free: 5.762 MB / 362.7 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 (85): * Single equations (assignments): 84 * 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 0.0003311/0.4112, allocations: 257.5 kB / 488.9 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.4113, allocations: 86.97 kB / 489 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.4119, allocations: 398.4 kB / 489.4 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.412, allocations: 4 kB / 489.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.412, allocations: 7.938 kB / 489.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.412, allocations: 3.984 kB / 489.4 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.4136, allocations: 1.263 MB / 490.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4136, allocations: 3.953 kB / 490.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.414, allocations: 75.89 kB / 490.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/0.414, allocations: 33 kB / 490.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.4141, allocations: 8 kB / 490.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/0.4149, allocations: 1.28 MB / 492 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4149, allocations: 3.938 kB / 492 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.4159, allocations: 0.7445 MB / 492.8 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.4162, allocations: 188.1 kB / 493 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.4162, allocations: 8 kB / 493 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.4166, allocations: 27.98 kB / 493 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.4167, allocations: 31.91 kB / 493 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.4167, allocations: 16 kB / 493.1 MB, free: 1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006415/0.4173, allocations: 0.5225 MB / 493.6 MB, free: 492 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4173, allocations: 4 kB / 493.6 MB, free: 488 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008664/0.4182, allocations: 227.9 kB / 493.8 MB, free: 260 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * 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.0004585/0.4187, allocations: 283.9 kB / 494.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000939/0.4196, allocations: 0.5281 MB / 494.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4196, allocations: 4 kB / 494.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.42, allocations: 275.1 kB / 494.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.4208, allocations: 192.8 kB / 495.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.4234, allocations: 2.093 MB / 497.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4239, allocations: 1.012 MB / 498.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.4243, allocations: 106.9 kB / 498.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4244, allocations: 59.42 kB / 498.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4244, allocations: 0 / 498.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01725/0.4417, allocations: 10.78 MB / 0.4972 GB, free: 0.8516 MB / 378.7 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)