Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 180.3 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.173/1.173, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001514/0.001514, allocations: 102.7 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09451, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.3556, allocations: 88.69 MB / 443.8 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3559, allocations: 90.03 kB / 443.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05555/0.4114, allocations: 22.96 MB / 466.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4115, allocations: 0 / 466.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.047e-05/0.4115, allocations: 16 kB / 466.8 MB, free: 12.39 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001546/0.4131, allocations: 1.098 MB / 467.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4131, allocations: 8.031 kB / 467.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.4135, allocations: 146.7 kB / 468.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4146, allocations: 0.6913 MB / 468.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.4146, allocations: 58 kB / 468.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4147, allocations: 87.98 kB / 468.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.4159, allocations: 0.7676 MB / 469.7 MB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.4159, allocations: 11.91 kB / 469.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.416, allocations: 32 kB / 469.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.416, allocations: 20 kB / 469.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.4169, allocations: 0.5348 MB / 470.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.4208, allocations: 3.446 MB / 473.7 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.4213, allocations: 231.2 kB / 473.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.4213, allocations: 4 kB / 473.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4214, allocations: 38.55 kB / 474 MB, free: 4.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.4214, allocations: 0 / 474 MB, free: 4.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001907/0.4233, allocations: 1.076 MB / 475.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4234, allocations: 85.33 kB / 475.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.4241, allocations: 0.6246 MB / 475.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4241, allocations: 29.7 kB / 475.8 MB, free: 2.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.4244, allocations: 0.502 MB / 476.3 MB, free: 2.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.4245, allocations: 102.5 kB / 476.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.4245, allocations: 12 kB / 476.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4247, allocations: 382.7 kB / 476.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.4249, allocations: 133.2 kB / 476.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4254, allocations: 422.2 kB / 477.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.4257, allocations: 201.8 kB / 477.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4257, allocations: 4 kB / 477.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009232/0.4266, allocations: 0.6343 MB / 478.2 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4267, allocations: 9.25 kB / 478.2 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4267, allocations: 15.94 kB / 478.2 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.4268, allocations: 28.84 kB / 478.2 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.4273, allocations: 152.1 kB / 478.4 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/0.4281, allocations: 1.288 MB / 479.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.4285, allocations: 43.95 kB / 479.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.4286, allocations: 28 kB / 479.7 MB, free: 14.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (74): * Single equations (assignments): 73 * 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.0002713/0.4289, allocations: 233.6 kB / 479.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.4289, allocations: 71.16 kB / 480 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005986/0.4296, allocations: 341.3 kB / 480.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4296, allocations: 8.031 kB / 480.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4296, allocations: 3.984 kB / 480.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4296, allocations: 4 kB / 480.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.431, allocations: 1.094 MB / 481.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.431, allocations: 3.938 kB / 481.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.4313, allocations: 64.17 kB / 481.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.255e-05/0.4314, allocations: 20.86 kB / 481.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4314, allocations: 11.94 kB / 481.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007853/0.4322, allocations: 1.287 MB / 482.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4322, allocations: 4.031 kB / 482.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.433, allocations: 0.658 MB / 483.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.4332, allocations: 176.2 kB / 483.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.4333, allocations: 11.95 kB / 483.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.4336, allocations: 19.98 kB / 483.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.4337, allocations: 23.97 kB / 483.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.4337, allocations: 15.94 kB / 483.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005284/0.4343, allocations: 479 kB / 484.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4343, allocations: 0 / 484.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006475/0.4349, allocations: 192 kB / 484.4 MB, free: 9.707 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (27): * Single equations (assignments): 26 * 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.0004559/0.4354, allocations: 281.8 kB / 484.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007782/0.4362, allocations: 478.7 kB / 485.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4362, allocations: 5.938 kB / 485.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.4365, allocations: 244.7 kB / 485.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.4372, allocations: 176.1 kB / 485.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.4394, allocations: 1.742 MB / 487.3 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.4398, allocations: 0.9701 MB / 488.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.4402, allocations: 89.97 kB / 488.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.4403, allocations: 55.36 kB / 488.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4403, allocations: 0 / 488.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of Templates: time 0.01497/0.4552, allocations: 9.434 MB / 497.8 MB, free: 12.16 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1)