Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001566/0.001566, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.272/1.272, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001925/0.001925, allocations: 111 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.705e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.07709, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.3401, allocations: 88.48 MB / 431.1 MB, free: 7.504 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3403, allocations: 82.58 kB / 431.1 MB, free: 7.461 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0583/0.3987, allocations: 23.49 MB / 454.6 MB, free: 4.371 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3987, allocations: 4 kB / 454.6 MB, free: 4.367 MB / 331.1 MB Notification: Performance of Transformations before backend: time 4.351e-05/0.3987, allocations: 16.22 kB / 454.6 MB, free: 4.352 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001491/0.4002, allocations: 1.016 MB / 455.7 MB, free: 3.352 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4003, allocations: 12.03 kB / 455.7 MB, free: 3.34 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.4008, allocations: 158 kB / 455.8 MB, free: 3.188 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.4019, allocations: 0.6737 MB / 456.5 MB, free: 2.609 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.402, allocations: 24 kB / 456.5 MB, free: 2.586 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.4021, allocations: 48 kB / 456.6 MB, free: 2.539 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007637/0.4029, allocations: 456 kB / 457 MB, free: 2.273 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.404, allocations: 0.6555 MB / 457.7 MB, free: 1.77 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.404, allocations: 11.89 kB / 457.7 MB, free: 1.758 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.4041, allocations: 3.953 kB / 457.7 MB, free: 1.754 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.4041, allocations: 24 kB / 457.7 MB, free: 1.73 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.4079, allocations: 3.316 MB / 461 MB, free: 14.84 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.4082, allocations: 207.3 kB / 461.2 MB, free: 14.7 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.4084, allocations: 91.27 kB / 461.3 MB, free: 14.64 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4084, allocations: 4 kB / 461.3 MB, free: 14.64 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.4084, allocations: 37.2 kB / 461.4 MB, free: 14.6 MB / 347.1 MB Notification: Performance of pre-optimization done (n=26): time 3.357e-06/0.4084, allocations: 0 / 461.4 MB, free: 14.6 MB / 347.1 MB Notification: Performance of matching and sorting (n=29): time 0.001175/0.4096, allocations: 0.7824 MB / 462.1 MB, free: 13.87 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.4097, allocations: 81.11 kB / 462.2 MB, free: 13.77 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.4102, allocations: 0.5116 MB / 462.7 MB, free: 13.39 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4103, allocations: 29.7 kB / 462.8 MB, free: 13.35 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.4105, allocations: 0.5173 MB / 463.3 MB, free: 12.95 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.4106, allocations: 105.3 kB / 463.4 MB, free: 12.86 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.4106, allocations: 0 / 463.4 MB, free: 12.86 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4108, allocations: 372 kB / 463.7 MB, free: 12.52 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4109, allocations: 93.56 kB / 463.8 MB, free: 12.46 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.4112, allocations: 389.3 kB / 464.2 MB, free: 12 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.4115, allocations: 167 kB / 464.4 MB, free: 11.89 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.4115, allocations: 4 kB / 464.4 MB, free: 11.88 MB / 347.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007326/0.4122, allocations: 0.5004 MB / 464.9 MB, free: 11.46 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4123, allocations: 12 kB / 464.9 MB, free: 11.45 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4123, allocations: 12 kB / 464.9 MB, free: 11.43 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.4124, allocations: 36.78 kB / 464.9 MB, free: 11.4 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.4129, allocations: 147.6 kB / 465.1 MB, free: 11.26 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000867/0.4137, allocations: 1.236 MB / 466.3 MB, free: 9.945 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.4142, allocations: 32.05 kB / 466.4 MB, free: 9.914 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.4142, allocations: 31.94 kB / 466.4 MB, free: 9.887 MB / 347.1 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 (75): * Single equations (assignments): 74 * 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.4144, allocations: 132.4 kB / 466.5 MB, free: 9.754 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.4145, allocations: 71.19 kB / 466.6 MB, free: 9.684 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.4149, allocations: 273.8 kB / 466.9 MB, free: 9.473 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4149, allocations: 4 kB / 466.9 MB, free: 9.469 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4149, allocations: 0 / 466.9 MB, free: 9.469 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4149, allocations: 3.938 kB / 466.9 MB, free: 9.465 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4161, allocations: 0.9453 MB / 467.8 MB, free: 8.676 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4161, allocations: 0 / 467.8 MB, free: 8.676 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.4164, allocations: 67.84 kB / 467.9 MB, free: 8.613 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/0.4164, allocations: 24.8 kB / 467.9 MB, free: 8.586 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4165, allocations: 7.156 kB / 467.9 MB, free: 8.582 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007118/0.4172, allocations: 1.228 MB / 469.1 MB, free: 7.281 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4172, allocations: 4.156 kB / 469.1 MB, free: 7.277 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.4178, allocations: 0.5709 MB / 469.7 MB, free: 6.719 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.418, allocations: 165.3 kB / 469.9 MB, free: 6.559 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.418, allocations: 4 kB / 469.9 MB, free: 6.555 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.4184, allocations: 27.91 kB / 469.9 MB, free: 6.527 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.4184, allocations: 23.53 kB / 469.9 MB, free: 6.508 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4184, allocations: 11.95 kB / 469.9 MB, free: 6.496 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.4188, allocations: 396 kB / 470.3 MB, free: 6.223 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.4188, allocations: 0 / 470.3 MB, free: 6.223 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0005988/0.4195, allocations: 159.3 kB / 470.5 MB, free: 6.07 MB / 347.1 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 (28): * Single equations (assignments): 27 * 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.0003518/0.4198, allocations: 281.2 kB / 470.8 MB, free: 5.801 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.4204, allocations: 391.4 kB / 471.1 MB, free: 5.484 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4204, allocations: 0 / 471.1 MB, free: 5.484 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.4206, allocations: 215.7 kB / 471.3 MB, free: 5.297 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.4213, allocations: 150.2 kB / 471.5 MB, free: 5.184 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.423, allocations: 1.043 MB / 472.5 MB, free: 4.18 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.4235, allocations: 0.9717 MB / 473.5 MB, free: 3.18 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.4238, allocations: 81.44 kB / 473.6 MB, free: 3.098 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.4239, allocations: 47.42 kB / 473.6 MB, free: 3.051 MB / 347.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4239, allocations: 0 / 473.6 MB, free: 3.051 MB / 347.1 MB Notification: Performance of Templates: time 0.01316/0.4371, allocations: 7.349 MB / 481 MB, free: 11.74 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)