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.00131/0.001309, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001786/0.001786, allocations: 172.7 kB / 15.95 MB, free: 208 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.924/1.924, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005272/0.0005273, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01111/0.3651, allocations: 6.973 MB / 333.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.3728, allocations: 2.447 MB / 335.9 MB, free: 9.887 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.3752, allocations: 22.66 kB / 335.9 MB, free: 9.883 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.3784, allocations: 418.8 kB / 336.3 MB, free: 9.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.3815, allocations: 339.9 kB / 336.7 MB, free: 9.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3826, allocations: 135.8 kB / 336.8 MB, free: 9.152 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.3857, allocations: 1.117 MB / 337.9 MB, free: 8.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.3869, allocations: 388.1 kB / 338.3 MB, free: 7.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.388, allocations: 394.2 kB / 338.7 MB, free: 7.246 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.3891, allocations: 438 kB / 339.1 MB, free: 6.816 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.3894, allocations: 60 kB / 339.2 MB, free: 6.758 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006006/0.39, allocations: 87.98 kB / 339.2 MB, free: 6.672 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.3903, allocations: 163.2 kB / 339.4 MB, free: 6.512 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.3908, allocations: 221.2 kB / 339.6 MB, free: 6.289 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.3928, allocations: 1.137 MB / 340.8 MB, free: 5.148 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.3928, allocations: 0 / 340.8 MB, free: 5.148 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.3929, allocations: 0 / 340.8 MB, free: 5.148 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.393, allocations: 3.938 kB / 340.8 MB, free: 5.145 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.00458/0.3976, allocations: 1.161 MB / 341.9 MB, free: 3.934 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.317e-05/0.3977, allocations: 12.03 kB / 341.9 MB, free: 3.922 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.3988, allocations: 146.7 kB / 342.1 MB, free: 3.777 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.4008, allocations: 0.6211 MB / 342.7 MB, free: 3.109 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.401, allocations: 62 kB / 342.8 MB, free: 3.051 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.4012, allocations: 83.98 kB / 342.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.4029, allocations: 0.8184 MB / 343.7 MB, free: 2.117 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.403, allocations: 4 kB / 343.7 MB, free: 2.113 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.4031, allocations: 36 kB / 343.7 MB, free: 2.078 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.4031, allocations: 20 kB / 343.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.4042, allocations: 0.5466 MB / 344.3 MB, free: 1.516 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00701/0.4112, allocations: 3.601 MB / 347.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.412, allocations: 250.6 kB / 348.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.4124, allocations: 124.8 kB / 348.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.4124, allocations: 0 / 348.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.4125, allocations: 38.56 kB / 348.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 5.791e-06/0.4125, allocations: 0 / 348.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.003195/0.4157, allocations: 1.11 MB / 349.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.4158, allocations: 85.11 kB / 349.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4171, allocations: 0.7546 MB / 350.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.4172, allocations: 29.7 kB / 350.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.4176, allocations: 0.5253 MB / 350.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4179, allocations: 114.4 kB / 350.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.4179, allocations: 8 kB / 350.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4181, allocations: 382.8 kB / 351.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4184, allocations: 133.2 kB / 351.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/0.4191, allocations: 454.2 kB / 351.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.4197, allocations: 212.1 kB / 352 MB, free: 9.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.4197, allocations: 4 kB / 352.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001506/0.4212, allocations: 0.6541 MB / 352.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.4212, allocations: 8 kB / 352.7 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.4213, allocations: 12 kB / 352.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.4215, allocations: 36.84 kB / 352.8 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.422, allocations: 151.7 kB / 352.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4233, allocations: 1.299 MB / 354.2 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.4241, allocations: 48.05 kB / 354.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.4242, allocations: 32 kB / 354.3 MB, free: 6.812 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.0005613/0.4247, allocations: 245.5 kB / 354.5 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.4249, allocations: 75.11 kB / 354.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008797/0.4258, allocations: 353.9 kB / 354.9 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4259, allocations: 3.938 kB / 355 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4259, allocations: 4 kB / 355 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4259, allocations: 0 / 355 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.4285, allocations: 1.136 MB / 356.1 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4285, allocations: 4 kB / 356.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.4288, allocations: 63.91 kB / 356.2 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.429, allocations: 33.02 kB / 356.2 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.429, allocations: 4 kB / 356.2 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.4303, allocations: 1.276 MB / 357.5 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4303, allocations: 0 / 357.5 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4316, allocations: 0.6038 MB / 358.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.432, allocations: 176.2 kB / 358.2 MB, free: 2.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.4322, allocations: 8 kB / 358.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.4326, allocations: 27.92 kB / 358.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.4327, allocations: 23.97 kB / 358.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.4327, allocations: 15.98 kB / 358.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009368/0.4337, allocations: 0.5107 MB / 358.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 0 / 358.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4347, allocations: 172 kB / 359 MB, free: 1.805 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.000377/0.4351, allocations: 123.1 kB / 359.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.4364, allocations: 484.8 kB / 359.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4364, allocations: 4.125 kB / 359.6 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.4369, allocations: 246.5 kB / 359.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.4383, allocations: 179.8 kB / 360 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.4427, allocations: 1.797 MB / 361.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.4437, allocations: 0.9604 MB / 362.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006134/0.4443, allocations: 94.17 kB / 362.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.4445, allocations: 47.44 kB / 362.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.843e-06/0.4445, allocations: 0 / 362.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Templates: time 0.02303/0.4676, allocations: 7.696 MB / 370.6 MB, free: 6.074 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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)