Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001373/0.001373, allocations: 99.62 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.002025/0.002025, allocations: 177.3 kB / 15.95 MB, free: 216 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.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005286/0.0005289, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3594, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007137/0.3665, allocations: 6.313 MB / 332.8 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.3716, allocations: 2.502 MB / 335.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.3722, allocations: 18.12 kB / 335.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.3734, allocations: 444.6 kB / 335.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3746, allocations: 464.1 kB / 336.2 MB, free: 9.773 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3751, allocations: 155.7 kB / 336.3 MB, free: 9.621 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.377, allocations: 0.8819 MB / 337.2 MB, free: 8.738 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.3779, allocations: 392 kB / 337.6 MB, free: 8.336 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.3785, allocations: 370.5 kB / 338 MB, free: 7.973 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.379, allocations: 406.1 kB / 338.3 MB, free: 7.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.3791, allocations: 52 kB / 338.4 MB, free: 7.523 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.3794, allocations: 91.97 kB / 338.5 MB, free: 7.434 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3795, allocations: 155.3 kB / 338.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3798, allocations: 221.2 kB / 338.9 MB, free: 7.059 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3809, allocations: 1.094 MB / 340 MB, free: 5.961 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3809, allocations: 3.938 kB / 340 MB, free: 5.957 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3809, allocations: 0 / 340 MB, free: 5.957 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.381, allocations: 0 / 340 MB, free: 5.957 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.002022/0.383, allocations: 1.141 MB / 341.1 MB, free: 4.766 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.3831, allocations: 12.03 kB / 341.1 MB, free: 4.754 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.3835, allocations: 138.7 kB / 341.2 MB, free: 4.617 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009094/0.3844, allocations: 0.6094 MB / 341.9 MB, free: 3.961 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.3844, allocations: 62 kB / 341.9 MB, free: 3.902 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3846, allocations: 84 kB / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.3859, allocations: 0.8145 MB / 342.8 MB, free: 2.973 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.386, allocations: 3.906 kB / 342.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.386, allocations: 39.94 kB / 342.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3861, allocations: 24 kB / 342.9 MB, free: 2.906 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.3871, allocations: 0.5465 MB / 343.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.3914, allocations: 3.547 MB / 347 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.3919, allocations: 250.6 kB / 347.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.392, allocations: 4 kB / 347.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.392, allocations: 30.56 kB / 347.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 2.655e-06/0.392, allocations: 0 / 347.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00233/0.3944, allocations: 1.106 MB / 348.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3945, allocations: 85.05 kB / 348.4 MB, free: 13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.3954, allocations: 0.7038 MB / 349.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3954, allocations: 29.7 kB / 349.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.3959, allocations: 0.5136 MB / 349.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.396, allocations: 114.4 kB / 349.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.396, allocations: 12 kB / 349.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.3963, allocations: 382.8 kB / 350.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.3966, allocations: 133.2 kB / 350.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.3972, allocations: 450.2 kB / 350.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.3976, allocations: 208.1 kB / 351 MB, free: 10.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3976, allocations: 4 kB / 351 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001102/0.3987, allocations: 0.6573 MB / 351.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3987, allocations: 12 kB / 351.6 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3987, allocations: 8 kB / 351.6 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.3989, allocations: 37.53 kB / 351.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.3994, allocations: 159.7 kB / 351.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.4006, allocations: 1.299 MB / 353.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.401, allocations: 43.89 kB / 353.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.4011, allocations: 32 kB / 353.2 MB, free: 7.906 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.0003522/0.4014, allocations: 241.7 kB / 353.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.4015, allocations: 83.02 kB / 353.5 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.4022, allocations: 345.9 kB / 353.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4022, allocations: 4 kB / 353.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4023, allocations: 0 / 353.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4023, allocations: 0 / 353.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.4039, allocations: 1.101 MB / 355 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.404, allocations: 0 / 355 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.4042, allocations: 67.91 kB / 355 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.653e-05/0.4043, allocations: 20.8 kB / 355 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4044, allocations: 15.88 kB / 355.1 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.4056, allocations: 1.28 MB / 356.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4056, allocations: 0 / 356.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4067, allocations: 0.6821 MB / 357 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4069, allocations: 172.1 kB / 357.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.407, allocations: 11.94 kB / 357.2 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.4073, allocations: 27.98 kB / 357.2 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.4074, allocations: 23.92 kB / 357.3 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.4075, allocations: 12 kB / 357.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006367/0.4081, allocations: 479 kB / 357.7 MB, free: 3.031 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4081, allocations: 0 / 357.7 MB, free: 3.031 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007355/0.4089, allocations: 168 kB / 357.9 MB, free: 2.867 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.0002633/0.4091, allocations: 115.1 kB / 358 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4102, allocations: 492.5 kB / 358.5 MB, free: 2.254 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4102, allocations: 0 / 358.5 MB, free: 2.254 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.4106, allocations: 251.2 kB / 358.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.4115, allocations: 171.3 kB / 358.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.4143, allocations: 1.801 MB / 360.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.415, allocations: 0.972 MB / 361.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.4154, allocations: 98 kB / 361.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.4155, allocations: 47.44 kB / 361.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4155, allocations: 0 / 361.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01434/0.4298, allocations: 7.111 MB / 368.9 MB, free: 7.715 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) Environment - environmentSimulation: