Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001172/0.001172, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001237/0.001237, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.625/1.625, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.0005721/0.0005723, allocations: 14.81 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3558, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008628/0.3645, allocations: 6.317 MB / 334 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.3704, allocations: 2.509 MB / 336.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3715, allocations: 18.59 kB / 336.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.3731, allocations: 444.7 kB / 337 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3745, allocations: 466.9 kB / 337.4 MB, free: 9.766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.375, allocations: 151.7 kB / 337.6 MB, free: 9.617 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3763, allocations: 0.8741 MB / 338.5 MB, free: 8.742 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.3769, allocations: 404 kB / 338.9 MB, free: 8.328 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.3773, allocations: 366.5 kB / 339.2 MB, free: 7.969 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.3778, allocations: 402.1 kB / 339.6 MB, free: 7.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.3779, allocations: 52 kB / 339.7 MB, free: 7.523 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.3782, allocations: 91.97 kB / 339.7 MB, free: 7.434 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3783, allocations: 151.3 kB / 339.9 MB, free: 7.285 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3785, allocations: 225.2 kB / 340.1 MB, free: 7.059 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3796, allocations: 1.098 MB / 341.2 MB, free: 5.957 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3796, allocations: 0 / 341.2 MB, free: 5.957 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3796, allocations: 0 / 341.2 MB, free: 5.957 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3796, allocations: 0 / 341.2 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.001993/0.3816, allocations: 1.141 MB / 342.4 MB, free: 4.766 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3817, allocations: 12.03 kB / 342.4 MB, free: 4.754 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/0.3821, allocations: 130.7 kB / 342.5 MB, free: 4.625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009162/0.383, allocations: 0.6172 MB / 343.1 MB, free: 3.961 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3832, allocations: 58 kB / 343.2 MB, free: 3.906 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3833, allocations: 88 kB / 343.3 MB, free: 3.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3846, allocations: 0.8067 MB / 344.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.3847, allocations: 11.89 kB / 344.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.3848, allocations: 39.94 kB / 344.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3848, allocations: 24 kB / 344.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3858, allocations: 0.5465 MB / 344.7 MB, free: 2.363 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.3902, allocations: 3.543 MB / 348.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.3908, allocations: 250.7 kB / 348.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.3908, allocations: 4 kB / 348.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.3909, allocations: 42.56 kB / 348.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 2.304e-06/0.3909, allocations: 0 / 348.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002105/0.393, allocations: 1.099 MB / 349.6 MB, free: 13.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.3931, allocations: 89.05 kB / 349.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008138/0.3939, allocations: 0.696 MB / 350.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3939, allocations: 37.64 kB / 350.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.3943, allocations: 0.5136 MB / 350.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.3944, allocations: 102.5 kB / 351 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.3944, allocations: 16 kB / 351.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3946, allocations: 382.8 kB / 351.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.3949, allocations: 133.2 kB / 351.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.3955, allocations: 454.2 kB / 352 MB, free: 10.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.3959, allocations: 204.1 kB / 352.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3959, allocations: 8 kB / 352.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001106/0.397, allocations: 0.657 MB / 352.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.397, allocations: 8.938 kB / 352.9 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3971, allocations: 12 kB / 352.9 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.3972, allocations: 40.84 kB / 352.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.3977, allocations: 151.7 kB / 353.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009447/0.3987, allocations: 1.292 MB / 354.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.3991, allocations: 43.88 kB / 354.4 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.3992, allocations: 32 kB / 354.4 MB, free: 7.918 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.0003412/0.3995, allocations: 245.7 kB / 354.7 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.3996, allocations: 79.02 kB / 354.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.4003, allocations: 353.9 kB / 355.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4003, allocations: 4 kB / 355.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4003, allocations: 0 / 355.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4003, allocations: 0 / 355.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.4019, allocations: 1.097 MB / 356.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4019, allocations: 0 / 356.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.4022, allocations: 67.91 kB / 356.3 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.091e-05/0.4023, allocations: 32.73 kB / 356.3 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4024, allocations: 11.94 kB / 356.3 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009259/0.4033, allocations: 1.272 MB / 357.6 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4033, allocations: 0 / 357.6 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4043, allocations: 0.6781 MB / 358.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.4046, allocations: 168.2 kB / 358.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.4047, allocations: 15.98 kB / 358.4 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.405, allocations: 27.98 kB / 358.5 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4052, allocations: 27.92 kB / 358.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4052, allocations: 8 kB / 358.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006682/0.4059, allocations: 479 kB / 359 MB, free: 3.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4059, allocations: 0 / 359 MB, free: 3.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000746/0.4066, allocations: 172 kB / 359.1 MB, free: 2.875 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.0002407/0.4069, allocations: 115.1 kB / 359.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009783/0.4079, allocations: 491.9 kB / 359.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4079, allocations: 4 kB / 359.7 MB, free: 2.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.4083, allocations: 255.7 kB / 360 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.000886/0.4092, allocations: 167.3 kB / 360.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.4118, allocations: 1.801 MB / 362 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.4124, allocations: 0.976 MB / 362.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.4127, allocations: 94.02 kB / 363 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.4128, allocations: 47.44 kB / 363.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4128, allocations: 0 / 363.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01503/0.4279, allocations: 7.107 MB / 370.2 MB, free: 7.723 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) Environment - environmentSimulation: