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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,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=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00101/0.00101, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.09/1.09, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00153/0.00153, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.157e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06125/0.06129, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/0.3181, allocations: 84.02 MB / 391.7 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3183, allocations: 80.2 kB / 391.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0622/0.3806, allocations: 23.9 MB / 415.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3806, allocations: 0 / 415.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.681e-05/0.3807, allocations: 23.98 kB / 415.7 MB, free: 4.199 MB / 298.7 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.001422/0.3821, allocations: 1.012 MB / 416.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.3821, allocations: 12.03 kB / 416.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004459/0.3826, allocations: 150.6 kB / 416.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3836, allocations: 0.6761 MB / 417.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.3836, allocations: 59.12 kB / 417.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3838, allocations: 94.83 kB / 417.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3849, allocations: 0.7735 MB / 418.4 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3849, allocations: 7.438 kB / 418.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.385, allocations: 32.31 kB / 418.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.385, allocations: 20 kB / 418.5 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.3858, allocations: 0.4937 MB / 419 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.3897, allocations: 3.515 MB / 422.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.3901, allocations: 217.2 kB / 422.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3902, allocations: 96.61 kB / 422.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.3903, allocations: 4 kB / 422.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3903, allocations: 42.38 kB / 422.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3903, allocations: 0 / 422.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001193/0.3915, allocations: 0.8494 MB / 423.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3915, allocations: 81.11 kB / 423.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.3923, allocations: 0.681 MB / 424.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3923, allocations: 29.33 kB / 424.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.3926, allocations: 0.5012 MB / 425 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.3927, allocations: 117.8 kB / 425.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.3927, allocations: 8 kB / 425.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3929, allocations: 337.9 kB / 425.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.393, allocations: 101.6 kB / 425.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.3934, allocations: 403.5 kB / 425.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.3937, allocations: 179.8 kB / 426.1 MB, free: 11.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3937, allocations: 4 kB / 426.1 MB, free: 11.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008298/0.3945, allocations: 0.5876 MB / 426.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3946, allocations: 12 kB / 426.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3946, allocations: 8 kB / 426.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.3947, allocations: 36.84 kB / 426.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.3952, allocations: 152.1 kB / 426.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008784/0.3961, allocations: 1.276 MB / 428.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.3965, allocations: 52.03 kB / 428.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.3965, allocations: 35.98 kB / 428.3 MB, free: 8.824 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001014/0.3966, allocations: 144.7 kB / 428.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3968, allocations: 82.97 kB / 428.5 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.3972, allocations: 302.7 kB / 428.8 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3972, allocations: 0 / 428.8 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3973, allocations: 4 kB / 428.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3973, allocations: 0 / 428.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.3986, allocations: 1.074 MB / 429.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3986, allocations: 4 kB / 429.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.3989, allocations: 63.89 kB / 429.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.381e-05/0.399, allocations: 29.03 kB / 430 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.399, allocations: 11.98 kB / 430 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008062/0.3998, allocations: 1.276 MB / 431.2 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.3998, allocations: 4.031 kB / 431.2 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.4005, allocations: 0.6032 MB / 431.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.4007, allocations: 176.2 kB / 432 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.4008, allocations: 11.98 kB / 432 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.4011, allocations: 23.98 kB / 432.1 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.4012, allocations: 31.86 kB / 432.1 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4012, allocations: 16 kB / 432.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006117/0.4018, allocations: 0.5187 MB / 432.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.4018, allocations: 0 / 432.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006535/0.4025, allocations: 207.9 kB / 432.8 MB, free: 3.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete 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.000398/0.4029, allocations: 320.5 kB / 433.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.4035, allocations: 439 kB / 433.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4035, allocations: 0 / 433.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.4038, allocations: 228.2 kB / 433.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.4047, allocations: 213.2 kB / 434 MB, free: 2.727 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4064, allocations: 1.051 MB / 435.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.4069, allocations: 0.9762 MB / 436 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.4073, allocations: 98.69 kB / 436.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4074, allocations: 55.42 kB / 436.2 MB, free: 476 kB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4074, allocations: 0 / 436.2 MB, free: 476 kB / 314.7 MB Notification: Performance of Templates: time 0.0186/0.426, allocations: 11.72 MB / 447.9 MB, free: 4.73 MB / 330.7 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)