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.002091/0.002091, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.002679/0.002679, allocations: 191.6 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001458/0.001458, allocations: 47.94 kB / 278.2 MB, free: 12.62 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3215, allocations: 46.62 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009407/0.3309, allocations: 7.898 MB / 332.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005806/0.3368, allocations: 2.582 MB / 335.3 MB, free: 9.539 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.3388, allocations: 22.91 kB / 335.4 MB, free: 9.535 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.3405, allocations: 463.5 kB / 335.8 MB, free: 9.113 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.3424, allocations: 345.5 kB / 336.1 MB, free: 8.773 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.343, allocations: 187.8 kB / 336.3 MB, free: 8.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.3448, allocations: 1.218 MB / 337.5 MB, free: 7.367 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000817/0.3456, allocations: 0.5292 MB / 338.1 MB, free: 6.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/0.3464, allocations: 486 kB / 338.5 MB, free: 6.344 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.3471, allocations: 0.5134 MB / 339.1 MB, free: 5.828 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.3472, allocations: 116 kB / 339.2 MB, free: 5.715 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.3476, allocations: 152 kB / 339.3 MB, free: 5.566 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3479, allocations: 239.1 kB / 339.6 MB, free: 5.332 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.3484, allocations: 0.5599 MB / 340.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.35, allocations: 1.437 MB / 341.6 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.3501, allocations: 8 kB / 341.6 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3501, allocations: 0 / 341.6 MB, free: 3.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.3501, allocations: 0 / 341.6 MB, free: 3.32 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.002609/0.3527, allocations: 1.313 MB / 342.9 MB, free: 1.953 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.3528, allocations: 8.031 kB / 342.9 MB, free: 1.945 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.3534, allocations: 147.6 kB / 343 MB, free: 1.801 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.3546, allocations: 0.6376 MB / 343.7 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/0.3547, allocations: 66.38 kB / 343.7 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3548, allocations: 87.94 kB / 343.8 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.3563, allocations: 0.8184 MB / 344.6 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.3564, allocations: 7.906 kB / 344.6 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.3565, allocations: 36 kB / 344.7 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3565, allocations: 20 kB / 344.7 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3576, allocations: 0.5387 MB / 345.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.3628, allocations: 3.59 MB / 348.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.3634, allocations: 242.6 kB / 349.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3637, allocations: 120.7 kB / 349.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3637, allocations: 7.938 kB / 349.2 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.3637, allocations: 34.56 kB / 349.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 2.305e-06/0.3638, allocations: 3.938 kB / 349.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002396/0.3662, allocations: 1.071 MB / 350.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.3663, allocations: 89.05 kB / 350.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3673, allocations: 0.7584 MB / 351.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.3674, allocations: 37.7 kB / 351.2 MB, free: 9.203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.3678, allocations: 0.5136 MB / 351.7 MB, free: 8.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.3679, allocations: 110.5 kB / 351.8 MB, free: 8.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3681, allocations: 122.2 kB / 351.9 MB, free: 8.445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.3683, allocations: 378.8 kB / 352.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3686, allocations: 129.2 kB / 352.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.3692, allocations: 454.2 kB / 352.9 MB, free: 7.348 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3703, allocations: 0.6141 MB / 353.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3703, allocations: 0 / 353.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00124/0.3715, allocations: 0.6415 MB / 354.1 MB, free: 5.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.3716, allocations: 8.969 kB / 354.1 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.3716, allocations: 15.94 kB / 354.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.3718, allocations: 40.84 kB / 354.2 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.3723, allocations: 147.8 kB / 354.3 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3736, allocations: 1.386 MB / 355.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.3742, allocations: 47.92 kB / 355.8 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.3743, allocations: 32 kB / 355.8 MB, free: 4.113 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.3747, allocations: 241.5 kB / 356 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3749, allocations: 75.06 kB / 356.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.3756, allocations: 342.1 kB / 356.4 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3756, allocations: 4 kB / 356.4 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3756, allocations: 0 / 356.4 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3756, allocations: 7.922 kB / 356.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.3774, allocations: 1.125 MB / 357.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3774, allocations: 0 / 357.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.3777, allocations: 63.91 kB / 357.6 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.636e-05/0.3778, allocations: 25.06 kB / 357.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3778, allocations: 8 kB / 357.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009721/0.3788, allocations: 1.374 MB / 359 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3788, allocations: 4.031 kB / 359 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.3797, allocations: 0.5642 MB / 359.6 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.38, allocations: 184.2 kB / 359.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.3801, allocations: 11.94 kB / 359.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3804, allocations: 23.97 kB / 359.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.3805, allocations: 31.84 kB / 359.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3806, allocations: 8 kB / 359.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007508/0.3813, allocations: 0.5224 MB / 360.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3813, allocations: 0 / 360.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008361/0.3822, allocations: 168 kB / 360.5 MB, free: 15.05 MB / 302.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.3825, allocations: 115.2 kB / 360.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3835, allocations: 488.8 kB / 361.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3835, allocations: 4.062 kB / 361.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.3839, allocations: 238.5 kB / 361.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.385, allocations: 195.6 kB / 361.6 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.3879, allocations: 1.811 MB / 363.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.3886, allocations: 0.9602 MB / 364.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.389, allocations: 94.16 kB / 364.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3891, allocations: 47.44 kB / 364.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3891, allocations: 0 / 364.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01752/0.4067, allocations: 8.346 MB / 372.8 MB, free: 2.664 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)