Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005231, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2943, allocations: 47.58 MB / 326.4 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01277/0.3071, allocations: 6.313 MB / 332.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008284/0.3155, allocations: 2.513 MB / 335.3 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.3177, allocations: 21.97 kB / 335.3 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.3208, allocations: 437.5 kB / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.3242, allocations: 474.7 kB / 336.2 MB, free: 9.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3254, allocations: 151.7 kB / 336.3 MB, free: 9.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.3284, allocations: 0.8741 MB / 337.2 MB, free: 8.715 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/0.3294, allocations: 396 kB / 337.6 MB, free: 8.309 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008978/0.3303, allocations: 366.5 kB / 338 MB, free: 7.949 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.3311, allocations: 402.1 kB / 338.3 MB, free: 7.555 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3313, allocations: 56 kB / 338.4 MB, free: 7.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.3317, allocations: 91.97 kB / 338.5 MB, free: 7.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3319, allocations: 151.3 kB / 338.6 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3323, allocations: 225.2 kB / 338.9 MB, free: 7.035 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.334, allocations: 1.094 MB / 340 MB, free: 5.938 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3341, allocations: 3.938 kB / 340 MB, free: 5.934 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.3341, allocations: 0 / 340 MB, free: 5.934 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.3341, allocations: 0 / 340 MB, free: 5.934 MB / 270.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.003661/0.3378, allocations: 1.141 MB / 341.1 MB, free: 4.742 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.3379, allocations: 8.031 kB / 341.1 MB, free: 4.734 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.3385, allocations: 138.7 kB / 341.2 MB, free: 4.598 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.3401, allocations: 0.6133 MB / 341.9 MB, free: 3.938 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/0.3402, allocations: 58 kB / 341.9 MB, free: 3.883 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.3405, allocations: 87.98 kB / 342 MB, free: 3.797 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.3429, allocations: 0.8106 MB / 342.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/0.343, allocations: 7.906 kB / 342.8 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3431, allocations: 39.94 kB / 342.9 MB, free: 2.906 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.3432, allocations: 20 kB / 342.9 MB, free: 2.887 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.3451, allocations: 0.5543 MB / 343.4 MB, free: 2.336 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007338/0.3525, allocations: 3.543 MB / 347 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.3535, allocations: 250.7 kB / 347.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.3535, allocations: 4 kB / 347.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3536, allocations: 34.56 kB / 347.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 3.677e-06/0.3536, allocations: 0 / 347.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.003507/0.3571, allocations: 1.099 MB / 348.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.3572, allocations: 89.05 kB / 348.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.3587, allocations: 0.7038 MB / 349.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.3587, allocations: 37.69 kB / 349.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.3593, allocations: 0.5097 MB / 349.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3594, allocations: 106.5 kB / 349.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3595, allocations: 12 kB / 349.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.3597, allocations: 386.7 kB / 350.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.3602, allocations: 133.2 kB / 350.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/0.361, allocations: 446.2 kB / 350.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.3617, allocations: 212.1 kB / 351 MB, free: 10.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.3618, allocations: 4 kB / 351 MB, free: 10.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002005/0.3638, allocations: 0.6614 MB / 351.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.3638, allocations: 8 kB / 351.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.3639, allocations: 12 kB / 351.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.3641, allocations: 32.84 kB / 351.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/0.365, allocations: 160.2 kB / 351.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.3666, allocations: 1.292 MB / 353.1 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.3675, allocations: 47.95 kB / 353.2 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.3676, allocations: 32 kB / 353.2 MB, free: 7.887 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.000559/0.3682, allocations: 241.5 kB / 353.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.3684, allocations: 83.02 kB / 353.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.3696, allocations: 341.9 kB / 353.8 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3696, allocations: 8 kB / 353.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3696, allocations: 0 / 353.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3696, allocations: 3.984 kB / 353.9 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.3725, allocations: 1.093 MB / 355 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3725, allocations: 0 / 355 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.373, allocations: 72.12 kB / 355 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.3732, allocations: 24.8 kB / 355 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3732, allocations: 15.88 kB / 355.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.3748, allocations: 1.276 MB / 356.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3748, allocations: 0 / 356.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3765, allocations: 0.682 MB / 357 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.3769, allocations: 168.2 kB / 357.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3771, allocations: 8 kB / 357.2 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.3777, allocations: 23.98 kB / 357.2 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.3778, allocations: 31.92 kB / 357.2 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.3778, allocations: 12.09 kB / 357.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.3789, allocations: 479 kB / 357.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.379, allocations: 0 / 357.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001154/0.3801, allocations: 168 kB / 357.9 MB, free: 2.852 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (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.0002994/0.3804, allocations: 119.1 kB / 358 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3821, allocations: 488.6 kB / 358.5 MB, free: 2.238 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.3821, allocations: 8.25 kB / 358.5 MB, free: 2.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.3828, allocations: 246.4 kB / 358.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.3846, allocations: 163.6 kB / 358.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.3898, allocations: 1.805 MB / 360.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.391, allocations: 0.9759 MB / 361.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0009422/0.392, allocations: 98.02 kB / 361.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.3923, allocations: 47.44 kB / 361.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of SimCode: time 3.547e-06/0.3923, allocations: 0 / 361.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Templates: time 0.02846/0.4208, allocations: 7.111 MB / 368.9 MB, free: 7.695 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) Environment - environmentSimulation: