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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,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=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001448/0.001448, allocations: 165.9 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.205/1.205, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001539/0.001539, allocations: 100.6 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.253e-05/1.255e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06049/0.06052, allocations: 38.77 MB / 301 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2493/0.3099, allocations: 86.88 MB / 387.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.3101, allocations: 79.52 kB / 387.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06778/0.3779, allocations: 25.94 MB / 413.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.378, allocations: 3.938 kB / 413.9 MB, free: 8.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.616e-05/0.3781, allocations: 23.94 kB / 413.9 MB, free: 8.668 MB / 298.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.002118/0.3802, allocations: 1.102 MB / 415 MB, free: 7.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3802, allocations: 8.031 kB / 415 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/0.3809, allocations: 174.5 kB / 415.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.3824, allocations: 0.7622 MB / 415.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.3825, allocations: 32 kB / 416 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3826, allocations: 67.73 kB / 416 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009216/0.3836, allocations: 0.5095 MB / 416.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.3848, allocations: 0.742 MB / 417.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.3848, allocations: 4 kB / 417.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.3849, allocations: 3.938 kB / 417.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.3849, allocations: 24 kB / 417.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/0.3894, allocations: 3.764 MB / 421.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.3899, allocations: 320.1 kB / 421.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3901, allocations: 113.4 kB / 421.5 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3901, allocations: 8.219 kB / 421.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3901, allocations: 38.84 kB / 421.6 MB, free: 1.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.544e-06/0.3901, allocations: 0 / 421.6 MB, free: 1.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001508/0.3917, allocations: 0.8784 MB / 422.4 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3917, allocations: 88.92 kB / 422.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.3924, allocations: 0.5702 MB / 423.1 MB, free: 40 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3925, allocations: 25.7 kB / 423.1 MB, free: 8 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.3928, allocations: 0.5793 MB / 423.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.3929, allocations: 130.2 kB / 423.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.3929, allocations: 0 / 423.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3931, allocations: 378.8 kB / 424.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3933, allocations: 117.6 kB / 424.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.3937, allocations: 412.3 kB / 424.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3939, allocations: 192 kB / 424.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.394, allocations: 4 kB / 424.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008066/0.3948, allocations: 0.5558 MB / 425.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3948, allocations: 8 kB / 425.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3948, allocations: 16 kB / 425.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.395, allocations: 37.44 kB / 425.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.3955, allocations: 171.7 kB / 425.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009991/0.3965, allocations: 1.233 MB / 426.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.397, allocations: 27.89 kB / 426.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.3971, allocations: 32 kB / 427 MB, free: 11.86 MB / 314.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 () * 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.0001255/0.3972, allocations: 128.7 kB / 427.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3973, allocations: 87.17 kB / 427.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.3979, allocations: 306.1 kB / 427.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3979, allocations: 4 kB / 427.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3979, allocations: 4 kB / 427.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3979, allocations: 0 / 427.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3995, allocations: 1.053 MB / 428.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3995, allocations: 4 kB / 428.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.3998, allocations: 80.11 kB / 428.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-05/0.3999, allocations: 24.86 kB / 428.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.4, allocations: 0 / 428.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/0.4009, allocations: 1.225 MB / 429.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.4009, allocations: 11.86 kB / 429.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007615/0.4017, allocations: 0.6424 MB / 430.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.402, allocations: 176.2 kB / 430.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4021, allocations: 4 kB / 430.7 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4024, allocations: 27.92 kB / 430.7 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.4025, allocations: 27.97 kB / 430.8 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4025, allocations: 12 kB / 430.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006233/0.4032, allocations: 435.2 kB / 431.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4032, allocations: 0 / 431.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007509/0.4039, allocations: 176 kB / 431.4 MB, free: 7.156 MB / 314.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 () * 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.0003839/0.4043, allocations: 254.6 kB / 431.6 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.4051, allocations: 435.2 kB / 432 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4051, allocations: 0 / 432 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.4054, allocations: 234.5 kB / 432.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.4062, allocations: 188 kB / 432.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.4085, allocations: 1.221 MB / 433.7 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.4091, allocations: 1.019 MB / 434.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.4095, allocations: 102.4 kB / 434.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4096, allocations: 51.44 kB / 434.9 MB, free: 3.566 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4096, allocations: 0 / 434.9 MB, free: 3.566 MB / 314.7 MB Notification: Performance of Templates: time 0.01503/0.4246, allocations: 7.905 MB / 442.8 MB, free: 11.65 MB / 330.7 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)