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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0018/0.0018, allocations: 189.2 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.1 MB / 222 MB, free: 4.766 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.001444/0.001444, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3522, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.0126/0.3649, allocations: 7.891 MB / 332.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007014/0.372, allocations: 2.601 MB / 335.2 MB, free: 9.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.3741, allocations: 20.5 kB / 335.2 MB, free: 9.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.376, allocations: 456.5 kB / 335.6 MB, free: 9.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3778, allocations: 341.5 kB / 336 MB, free: 8.832 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3784, allocations: 191.8 kB / 336.2 MB, free: 8.645 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3799, allocations: 1.175 MB / 337.3 MB, free: 7.465 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000699/0.3806, allocations: 467.9 kB / 337.8 MB, free: 6.988 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.3813, allocations: 442.1 kB / 338.2 MB, free: 6.555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.3819, allocations: 0.4938 MB / 338.7 MB, free: 6.059 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3821, allocations: 72 kB / 338.8 MB, free: 5.988 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3824, allocations: 112 kB / 338.9 MB, free: 5.879 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.3826, allocations: 195.2 kB / 339.1 MB, free: 5.688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.3831, allocations: 0.5247 MB / 339.6 MB, free: 5.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3845, allocations: 1.409 MB / 341 MB, free: 3.746 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3845, allocations: 0 / 341 MB, free: 3.746 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3846, allocations: 0 / 341 MB, free: 3.746 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.3846, allocations: 0 / 341 MB, free: 3.746 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.002495/0.3871, allocations: 1.305 MB / 342.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3872, allocations: 12.03 kB / 342.3 MB, free: 2.375 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.3877, allocations: 147.6 kB / 342.5 MB, free: 2.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3889, allocations: 0.6337 MB / 343.1 MB, free: 1.555 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.3889, allocations: 62.38 kB / 343.2 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.3891, allocations: 91.94 kB / 343.3 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.3906, allocations: 0.8184 MB / 344.1 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.3907, allocations: 3.906 kB / 344.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.3908, allocations: 36 kB / 344.1 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.3908, allocations: 28 kB / 344.1 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3919, allocations: 0.5387 MB / 344.7 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006041/0.398, allocations: 3.586 MB / 348.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.3987, allocations: 230.7 kB / 348.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.399, allocations: 124.7 kB / 348.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.3991, allocations: 8 kB / 348.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.3992, allocations: 30.56 kB / 348.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 4.128e-06/0.3992, allocations: 0 / 348.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.003179/0.4024, allocations: 1.071 MB / 349.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.4025, allocations: 92.98 kB / 349.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.404, allocations: 0.7623 MB / 350.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.404, allocations: 33.64 kB / 350.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.4046, allocations: 0.5136 MB / 351.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.4047, allocations: 106.5 kB / 351.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.4049, allocations: 126.1 kB / 351.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003271/0.4053, allocations: 382.8 kB / 351.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4056, allocations: 133.2 kB / 351.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.4064, allocations: 446.2 kB / 352.3 MB, free: 7.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.4074, allocations: 0.6141 MB / 352.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4074, allocations: 4 kB / 352.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001221/0.4086, allocations: 0.6418 MB / 353.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.4087, allocations: 12 kB / 353.6 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.4087, allocations: 11.94 kB / 353.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.4089, allocations: 37.47 kB / 353.6 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.4095, allocations: 155.7 kB / 353.8 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.4111, allocations: 1.284 MB / 355.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.4119, allocations: 55.97 kB / 355.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.412, allocations: 35.98 kB / 355.1 MB, free: 4.648 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.0005087/0.4125, allocations: 238.1 kB / 355.4 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4126, allocations: 75.06 kB / 355.4 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.4134, allocations: 338.1 kB / 355.8 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4134, allocations: 4 kB / 355.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.4135, allocations: 0 / 355.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4135, allocations: 0 / 355.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.4155, allocations: 1.125 MB / 356.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.4156, allocations: 4 kB / 356.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4159, allocations: 64.11 kB / 357 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.416, allocations: 24.84 kB / 357 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.416, allocations: 8 kB / 357 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.4171, allocations: 1.272 MB / 358.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.4171, allocations: 7.969 kB / 358.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.4181, allocations: 0.568 MB / 358.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.4185, allocations: 180.2 kB / 359 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.4185, allocations: 8 kB / 359 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.4189, allocations: 23.92 kB / 359.1 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.419, allocations: 23.97 kB / 359.1 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4191, allocations: 16 kB / 359.1 MB, free: 400 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008318/0.4199, allocations: 0.5186 MB / 359.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4199, allocations: 4 kB / 359.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.4207, allocations: 164 kB / 359.8 MB, free: 15.71 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.0002606/0.421, allocations: 111.2 kB / 359.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.4221, allocations: 492.5 kB / 360.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4221, allocations: 4.312 kB / 360.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.4226, allocations: 250.4 kB / 360.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4237, allocations: 163.6 kB / 360.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.4266, allocations: 1.813 MB / 362.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.4272, allocations: 0.9526 MB / 363.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.4277, allocations: 94.17 kB / 363.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4278, allocations: 51.44 kB / 363.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4278, allocations: 0 / 363.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Templates: time 0.01977/0.4476, allocations: 7.986 MB / 371.7 MB, free: 3.707 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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)