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.000952/0.0009519, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001396/0.001396, allocations: 168.7 kB / 15.95 MB, free: 204 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.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004783/0.0004786, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2583, allocations: 47.59 MB / 326.5 MB, free: 1.629 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007707/0.2661, allocations: 6.975 MB / 333.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.2706, allocations: 2.441 MB / 335.9 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.2711, allocations: 23.25 kB / 335.9 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2721, allocations: 426.1 kB / 336.3 MB, free: 9.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00071/0.2728, allocations: 333.5 kB / 336.7 MB, free: 9.441 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.2732, allocations: 143.8 kB / 336.8 MB, free: 9.301 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.2743, allocations: 1.105 MB / 337.9 MB, free: 8.191 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.2748, allocations: 396 kB / 338.3 MB, free: 7.785 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.2753, allocations: 390.3 kB / 338.7 MB, free: 7.402 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.2758, allocations: 434 kB / 339.1 MB, free: 6.977 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.2759, allocations: 60 kB / 339.2 MB, free: 6.918 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.2761, allocations: 91.97 kB / 339.2 MB, free: 6.828 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.2763, allocations: 163.2 kB / 339.4 MB, free: 6.668 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.2765, allocations: 229.1 kB / 339.6 MB, free: 6.438 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009402/0.2774, allocations: 1.129 MB / 340.8 MB, free: 5.305 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2774, allocations: 0 / 340.8 MB, free: 5.305 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2774, allocations: 0 / 340.8 MB, free: 5.305 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2774, allocations: 0 / 340.8 MB, free: 5.305 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.00179/0.2792, allocations: 1.165 MB / 341.9 MB, free: 4.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2793, allocations: 8.031 kB / 341.9 MB, free: 4.082 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.2797, allocations: 154.6 kB / 342.1 MB, free: 3.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008552/0.2806, allocations: 0.6173 MB / 342.7 MB, free: 3.266 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.2807, allocations: 58 kB / 342.8 MB, free: 3.211 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2808, allocations: 84 kB / 342.8 MB, free: 3.129 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.2821, allocations: 0.8184 MB / 343.7 MB, free: 2.277 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2821, allocations: 0 / 343.7 MB, free: 2.277 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.2822, allocations: 36 kB / 343.7 MB, free: 2.242 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.2822, allocations: 20 kB / 343.7 MB, free: 2.223 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009906/0.2832, allocations: 0.5543 MB / 344.3 MB, free: 1.672 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.2872, allocations: 3.605 MB / 347.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2877, allocations: 250.7 kB / 348.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.2879, allocations: 120.8 kB / 348.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.288, allocations: 7.984 kB / 348.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.288, allocations: 38.5 kB / 348.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.288, allocations: 0 / 348.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001947/0.29, allocations: 1.099 MB / 349.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.29, allocations: 85.11 kB / 349.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/0.291, allocations: 0.7546 MB / 350.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.291, allocations: 33.7 kB / 350.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.2914, allocations: 0.5175 MB / 350.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.2915, allocations: 118.4 kB / 350.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.2915, allocations: 15.94 kB / 350.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2917, allocations: 382.8 kB / 351.3 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.292, allocations: 133.2 kB / 351.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.2926, allocations: 454.2 kB / 351.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.293, allocations: 208.1 kB / 352.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.293, allocations: 4 kB / 352.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001086/0.2941, allocations: 0.654 MB / 352.7 MB, free: 8.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.2941, allocations: 15.98 kB / 352.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2941, allocations: 8 kB / 352.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.2943, allocations: 36.86 kB / 352.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.2947, allocations: 151.7 kB / 352.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000976/0.2957, allocations: 1.299 MB / 354.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.2962, allocations: 44.05 kB / 354.3 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.2962, allocations: 32 kB / 354.3 MB, free: 6.969 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.000302/0.2965, allocations: 245.5 kB / 354.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.2966, allocations: 79.05 kB / 354.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.2973, allocations: 342 kB / 354.9 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2973, allocations: 4 kB / 354.9 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2973, allocations: 3.938 kB / 354.9 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2973, allocations: 3.984 kB / 355 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.299, allocations: 1.136 MB / 356.1 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.299, allocations: 8 kB / 356.1 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.2993, allocations: 64.12 kB / 356.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-05/0.2994, allocations: 28.8 kB / 356.2 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2994, allocations: 8 kB / 356.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008268/0.3003, allocations: 1.272 MB / 357.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3003, allocations: 4.031 kB / 357.5 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.3011, allocations: 0.5999 MB / 358.1 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.3014, allocations: 180.2 kB / 358.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.3015, allocations: 8 kB / 358.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.3018, allocations: 31.97 kB / 358.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.3019, allocations: 19.91 kB / 358.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3019, allocations: 12 kB / 358.3 MB, free: 2.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.3026, allocations: 0.5108 MB / 358.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3026, allocations: 0 / 358.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006692/0.3033, allocations: 164 kB / 359 MB, free: 1.973 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.0002231/0.3035, allocations: 135.1 kB / 359.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00091/0.3044, allocations: 488.8 kB / 359.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3045, allocations: 0 / 359.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.3048, allocations: 242.5 kB / 359.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3059, allocations: 187.8 kB / 360 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.3087, allocations: 1.809 MB / 361.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.3094, allocations: 0.9487 MB / 362.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003924/0.3098, allocations: 98.17 kB / 362.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3099, allocations: 51.42 kB / 362.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3099, allocations: 0 / 362.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01587/0.3258, allocations: 7.692 MB / 370.6 MB, free: 6.223 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)