Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001005/0.001005, allocations: 166.8 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.227/1.227, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.0016/0.001599, allocations: 107.4 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.181e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.0916, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/0.3575, allocations: 82.81 MB / 383.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.3578, allocations: 82.52 kB / 383.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05811/0.4159, allocations: 22.74 MB / 406.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.416, allocations: 0 / 406.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.289e-05/0.416, allocations: 16 kB / 406.6 MB, free: 15.1 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001447/0.4175, allocations: 0.9716 MB / 407.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4175, allocations: 8.031 kB / 407.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.418, allocations: 150.6 kB / 407.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4192, allocations: 0.6754 MB / 408.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.4192, allocations: 28 kB / 408.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4193, allocations: 51.84 kB / 408.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007936/0.4201, allocations: 424.6 kB / 408.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4212, allocations: 0.6347 MB / 409.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.4213, allocations: 4 kB / 409.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.4213, allocations: 3.938 kB / 409.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.4213, allocations: 20 kB / 409.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.4255, allocations: 3.298 MB / 412.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.4259, allocations: 199 kB / 413.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.426, allocations: 87.48 kB / 413.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.4261, allocations: 8 kB / 413.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.4261, allocations: 33.19 kB / 413.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.4262, allocations: 0 / 413.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001324/0.4275, allocations: 0.7536 MB / 414 MB, free: 8.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.4275, allocations: 86.66 kB / 414 MB, free: 8.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.4282, allocations: 0.5221 MB / 414.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4282, allocations: 29.7 kB / 414.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.4285, allocations: 0.4975 MB / 415.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.4286, allocations: 104.4 kB / 415.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.4286, allocations: 0 / 415.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4287, allocations: 371.9 kB / 415.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4289, allocations: 95.06 kB / 415.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.4292, allocations: 379.5 kB / 416 MB, free: 6.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.4294, allocations: 165 kB / 416.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.4295, allocations: 8 kB / 416.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007291/0.4302, allocations: 0.4936 MB / 416.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4302, allocations: 12.09 kB / 416.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4302, allocations: 16 kB / 416.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.4304, allocations: 36.84 kB / 416.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.4308, allocations: 143.8 kB / 416.9 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.4319, allocations: 1.233 MB / 418.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.4323, allocations: 23.89 kB / 418.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.4323, allocations: 32 kB / 418.2 MB, free: 4.676 MB / 298.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 () * 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.0001259/0.4325, allocations: 142.5 kB / 418.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.4326, allocations: 71.19 kB / 418.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.4331, allocations: 261.1 kB / 418.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4331, allocations: 4 kB / 418.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4331, allocations: 0 / 418.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4331, allocations: 3.984 kB / 418.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4344, allocations: 0.9071 MB / 419.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4344, allocations: 4.219 kB / 419.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.4347, allocations: 71.89 kB / 419.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.169e-05/0.4348, allocations: 16.81 kB / 419.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.4348, allocations: 4 kB / 419.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008591/0.4357, allocations: 1.229 MB / 420.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4357, allocations: 4 kB / 420.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.4363, allocations: 0.56 MB / 421.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4365, allocations: 160.4 kB / 421.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.4366, allocations: 4 kB / 421.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.4369, allocations: 15.98 kB / 421.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.437, allocations: 31.91 kB / 421.7 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.437, allocations: 8 kB / 421.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000487/0.4375, allocations: 399.1 kB / 422 MB, free: 0.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4375, allocations: 0 / 422 MB, free: 0.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.4382, allocations: 148 kB / 422.2 MB, free: 364 kB / 298.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 () * 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.0004412/0.4387, allocations: 264.8 kB / 422.5 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000653/0.4393, allocations: 387.6 kB / 422.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4394, allocations: 0 / 422.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.4396, allocations: 202.7 kB / 423 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4404, allocations: 163.2 kB / 423.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4422, allocations: 0.9931 MB / 424.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.4428, allocations: 0.9526 MB / 425.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.4431, allocations: 89.55 kB / 425.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.4432, allocations: 43.44 kB / 425.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4432, allocations: 4 kB / 425.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Templates: time 0.01314/0.4564, allocations: 7.005 MB / 432.3 MB, free: 6.16 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1)