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.0009365/0.0009366, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.231/1.231, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001599/0.001599, allocations: 106.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.375e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07046/0.07051, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/0.3514, allocations: 83.47 MB / 391.1 MB, free: 8.961 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3517, allocations: 84.7 kB / 391.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06086/0.4126, allocations: 23.06 MB / 414.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4126, allocations: 4 kB / 414.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.923e-05/0.4127, allocations: 16 kB / 414.3 MB, free: 5.465 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.001519/0.4142, allocations: 0.9665 MB / 415.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4142, allocations: 8.031 kB / 415.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.4147, allocations: 146.6 kB / 415.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.4159, allocations: 0.6793 MB / 416.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.416, allocations: 65.44 kB / 416.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4161, allocations: 81.66 kB / 416.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4172, allocations: 0.7443 MB / 417 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.4173, allocations: 3.938 kB / 417 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.4173, allocations: 34.62 kB / 417 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.4174, allocations: 20 kB / 417 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007715/0.4181, allocations: 478.7 kB / 417.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.4222, allocations: 3.452 MB / 420.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.4226, allocations: 214.6 kB / 421.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.4228, allocations: 92.73 kB / 421.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.4228, allocations: 8 kB / 421.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4229, allocations: 38.52 kB / 421.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.355e-06/0.4229, allocations: 0 / 421.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001446/0.4243, allocations: 0.8076 MB / 422.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.4244, allocations: 81.34 kB / 422.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/0.4251, allocations: 0.6138 MB / 422.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4251, allocations: 36.77 kB / 422.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.4254, allocations: 0.4916 MB / 423.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.4255, allocations: 104.4 kB / 423.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.4256, allocations: 14.56 kB / 423.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4257, allocations: 381.8 kB / 423.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.4259, allocations: 103.8 kB / 423.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.4263, allocations: 395.5 kB / 424.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.4265, allocations: 194 kB / 424.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4266, allocations: 3.953 kB / 424.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008694/0.4274, allocations: 0.5717 MB / 425 MB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4275, allocations: 8 kB / 425.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.821e-05/0.4275, allocations: 8 kB / 425.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.4277, allocations: 33.42 kB / 425.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.4281, allocations: 151.7 kB / 425.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.4291, allocations: 1.284 MB / 426.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.4296, allocations: 35.92 kB / 426.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.4296, allocations: 39.94 kB / 426.6 MB, free: 10.48 MB / 314.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.0001262/0.4298, allocations: 144.7 kB / 426.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.4299, allocations: 79.14 kB / 426.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.4304, allocations: 281.5 kB / 427.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.4304, allocations: 4 kB / 427.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4304, allocations: 0 / 427.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4304, allocations: 3.984 kB / 427.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.4318, allocations: 1.059 MB / 428.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4319, allocations: 4 kB / 428.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.4321, allocations: 59.91 kB / 428.2 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/0.4322, allocations: 29.06 kB / 428.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4322, allocations: 8 kB / 428.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008761/0.4331, allocations: 1.272 MB / 429.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4331, allocations: 0 / 429.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.4338, allocations: 0.5834 MB / 430.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.4341, allocations: 172.2 kB / 430.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.4341, allocations: 4 kB / 430.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.4345, allocations: 23.98 kB / 430.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.4345, allocations: 27.86 kB / 430.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4346, allocations: 12.09 kB / 430.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006657/0.4352, allocations: 479.2 kB / 430.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4352, allocations: 0 / 430.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00095/0.4362, allocations: 195.9 kB / 431 MB, free: 5.738 MB / 314.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.0005797/0.4368, allocations: 290.3 kB / 431.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008299/0.4376, allocations: 416.8 kB / 431.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4377, allocations: 0 / 431.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.438, allocations: 227.3 kB / 431.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.4388, allocations: 164.2 kB / 432.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4408, allocations: 1.028 MB / 433.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.4414, allocations: 0.9608 MB / 434.1 MB, free: 2.559 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.4417, allocations: 90.03 kB / 434.2 MB, free: 2.469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4418, allocations: 51.36 kB / 434.2 MB, free: 2.418 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4418, allocations: 4 kB / 434.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of Templates: time 0.01749/0.4593, allocations: 9.795 MB / 444 MB, free: 8.613 MB / 330.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)