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.006031/0.006031, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.152/1.152, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001565/0.001565, allocations: 117.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1959, allocations: 38.76 MB / 312.9 MB, free: 38.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09514/0.2911, allocations: 87.64 MB / 400.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.2914, allocations: 83.95 kB / 400.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2334/0.5249, allocations: 26.29 MB / 426.9 MB, free: 80.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5249, allocations: 0 / 426.9 MB, free: 80.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.467e-05/0.525, allocations: 20 kB / 426.9 MB, free: 80.84 MB / 314.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.002039/0.527, allocations: 1.235 MB / 428.2 MB, free: 80.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5271, allocations: 15.78 kB / 428.2 MB, free: 80.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/0.5277, allocations: 171.8 kB / 428.3 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.529, allocations: 0.7695 MB / 429.1 MB, free: 79.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.5291, allocations: 73.56 kB / 429.2 MB, free: 79.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.5293, allocations: 100.9 kB / 429.3 MB, free: 79.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.5311, allocations: 0.9157 MB / 430.2 MB, free: 79.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.5312, allocations: 5.812 kB / 430.2 MB, free: 79.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.5313, allocations: 42.97 kB / 430.2 MB, free: 79.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.5313, allocations: 23.66 kB / 430.3 MB, free: 79.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5325, allocations: 0.6374 MB / 430.9 MB, free: 79.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.5376, allocations: 3.938 MB / 434.8 MB, free: 77.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.5382, allocations: 360.2 kB / 435.2 MB, free: 77.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.5382, allocations: 3.719 kB / 435.2 MB, free: 77.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5383, allocations: 38.22 kB / 435.2 MB, free: 77.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.5383, allocations: 0 / 435.2 MB, free: 77.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002285/0.5406, allocations: 1.244 MB / 436.5 MB, free: 76.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5406, allocations: 81.02 kB / 436.6 MB, free: 76.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.5414, allocations: 0.6984 MB / 437.3 MB, free: 75.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.5414, allocations: 33.67 kB / 437.3 MB, free: 75.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.5417, allocations: 0.5586 MB / 437.8 MB, free: 75.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.5418, allocations: 130.6 kB / 438 MB, free: 75.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.5418, allocations: 15.84 kB / 438 MB, free: 75.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.5419, allocations: 332.8 kB / 438.3 MB, free: 74.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.5422, allocations: 158.9 kB / 438.5 MB, free: 74.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.5425, allocations: 461.2 kB / 438.9 MB, free: 74.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.5429, allocations: 242.1 kB / 439.2 MB, free: 74.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5429, allocations: 7.906 kB / 439.2 MB, free: 74.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009747/0.5439, allocations: 0.6992 MB / 439.9 MB, free: 73.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5439, allocations: 8 kB / 439.9 MB, free: 73.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5439, allocations: 17.31 kB / 439.9 MB, free: 73.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.5441, allocations: 35.75 kB / 439.9 MB, free: 73.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.5446, allocations: 167.8 kB / 440.1 MB, free: 73.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008274/0.5454, allocations: 1.29 MB / 441.4 MB, free: 72.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.546, allocations: 38.78 kB / 441.4 MB, free: 72.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.546, allocations: 39.16 kB / 441.4 MB, free: 72.61 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 () * 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.0003977/0.5465, allocations: 262.9 kB / 441.7 MB, free: 72.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.5466, allocations: 86.08 kB / 441.8 MB, free: 72.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.5473, allocations: 397.8 kB / 442.2 MB, free: 72.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5473, allocations: 3.719 kB / 442.2 MB, free: 72.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5473, allocations: 3.719 kB / 442.2 MB, free: 72.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5473, allocations: 3.938 kB / 442.2 MB, free: 72.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.549, allocations: 1.27 MB / 443.5 MB, free: 71.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.549, allocations: 0 / 443.5 MB, free: 71.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.5493, allocations: 74.83 kB / 443.5 MB, free: 71.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.122e-05/0.5494, allocations: 31.19 kB / 443.6 MB, free: 71.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.5495, allocations: 12.16 kB / 443.6 MB, free: 71.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006454/0.5501, allocations: 1.281 MB / 444.9 MB, free: 70.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5501, allocations: 4.062 kB / 444.9 MB, free: 70.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.5511, allocations: 0.735 MB / 445.6 MB, free: 69.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.5513, allocations: 193.4 kB / 445.8 MB, free: 69.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.5514, allocations: 13.97 kB / 445.8 MB, free: 69.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.5518, allocations: 29.78 kB / 445.8 MB, free: 69.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.5519, allocations: 26.34 kB / 445.9 MB, free: 69.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.5519, allocations: 11.66 kB / 445.9 MB, free: 69.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006502/0.5525, allocations: 0.5354 MB / 446.4 MB, free: 69.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5526, allocations: 0 / 446.4 MB, free: 69.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009572/0.5535, allocations: 227.8 kB / 446.6 MB, free: 69.12 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 () * 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.0004915/0.554, allocations: 290.1 kB / 446.9 MB, free: 68.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.555, allocations: 0.5204 MB / 447.4 MB, free: 68.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.555, allocations: 0 / 447.4 MB, free: 68.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.5554, allocations: 273.3 kB / 447.7 MB, free: 68.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008759/0.5563, allocations: 193.6 kB / 447.9 MB, free: 68.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.5591, allocations: 2.097 MB / 450 MB, free: 67.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.5595, allocations: 1.016 MB / 451 MB, free: 66.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.5599, allocations: 100.8 kB / 451.1 MB, free: 66.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.56, allocations: 59.86 kB / 451.2 MB, free: 66.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.56, allocations: 0 / 451.2 MB, free: 66.42 MB / 314.7 MB Notification: Performance of Templates: time 0.01857/0.5786, allocations: 10.79 MB / 461.9 MB, free: 58.94 MB / 314.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)