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.001024/0.001024, allocations: 91.5 kB / 16.31 MB, free: 6.387 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.0009853/0.0009853, allocations: 179.3 kB / 17.2 MB, free: 6.293 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.603/1.603, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.0006993/0.0006994, allocations: 12 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2822, allocations: 47.59 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.008761/0.291, allocations: 6.968 MB / 334.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.2969, allocations: 2.456 MB / 337.2 MB, free: 9.918 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2983, allocations: 22.78 kB / 337.2 MB, free: 9.914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.3001, allocations: 414.4 kB / 337.6 MB, free: 9.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.3018, allocations: 340.1 kB / 337.9 MB, free: 9.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.3025, allocations: 135.8 kB / 338 MB, free: 9.168 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.3046, allocations: 1.116 MB / 339.2 MB, free: 8.047 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009322/0.3055, allocations: 400 kB / 339.6 MB, free: 7.637 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.3065, allocations: 382.3 kB / 339.9 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.3076, allocations: 438 kB / 340.4 MB, free: 6.832 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.3079, allocations: 56 kB / 340.4 MB, free: 6.777 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.3086, allocations: 91.97 kB / 340.5 MB, free: 6.688 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.3088, allocations: 163.2 kB / 340.7 MB, free: 6.527 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.3094, allocations: 225.1 kB / 340.9 MB, free: 6.301 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3109, allocations: 1.137 MB / 342 MB, free: 5.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.311, allocations: 0 / 342 MB, free: 5.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.311, allocations: 0 / 342 MB, free: 5.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.424e-05/0.311, allocations: 0 / 342 MB, free: 5.16 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.00215/0.3132, allocations: 1.149 MB / 343.2 MB, free: 3.961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3132, allocations: 8.031 kB / 343.2 MB, free: 3.953 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004797/0.3137, allocations: 158.6 kB / 343.3 MB, free: 3.797 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.3147, allocations: 0.6211 MB / 344 MB, free: 3.129 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.3148, allocations: 58 kB / 344 MB, free: 3.074 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.315, allocations: 88 kB / 344.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.3164, allocations: 0.8184 MB / 344.9 MB, free: 2.137 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3164, allocations: 11.98 kB / 344.9 MB, free: 2.125 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.3165, allocations: 28 kB / 345 MB, free: 2.098 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.3165, allocations: 24 kB / 345 MB, free: 2.074 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3176, allocations: 0.5543 MB / 345.5 MB, free: 1.523 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.322, allocations: 3.59 MB / 349.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.3226, allocations: 250.6 kB / 349.4 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.3229, allocations: 124.8 kB / 349.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3229, allocations: 4 kB / 349.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3229, allocations: 38.56 kB / 349.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.323, allocations: 0 / 349.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00225/0.3252, allocations: 1.099 MB / 350.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.3253, allocations: 89.09 kB / 350.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3264, allocations: 0.7507 MB / 351.5 MB, free: 11.22 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3264, allocations: 33.7 kB / 351.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.3268, allocations: 0.5175 MB / 352 MB, free: 10.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.3269, allocations: 110.4 kB / 352.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.327, allocations: 16 kB / 352.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.3272, allocations: 378.8 kB / 352.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.3275, allocations: 141.2 kB / 352.6 MB, free: 10.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.328, allocations: 454.2 kB / 353.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.3285, allocations: 212.1 kB / 353.3 MB, free: 9.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3285, allocations: 4 kB / 353.3 MB, free: 9.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001182/0.3297, allocations: 0.6541 MB / 354 MB, free: 8.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3297, allocations: 8 kB / 354 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3297, allocations: 15.98 kB / 354 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.3299, allocations: 36.84 kB / 354 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.3304, allocations: 147.8 kB / 354.2 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.3315, allocations: 1.303 MB / 355.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.332, allocations: 48.05 kB / 355.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.3321, allocations: 35.98 kB / 355.5 MB, free: 6.828 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.0004075/0.3325, allocations: 241.5 kB / 355.8 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3326, allocations: 79.02 kB / 355.9 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.3333, allocations: 349.9 kB / 356.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3333, allocations: 0 / 356.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3333, allocations: 0 / 356.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3333, allocations: 4 kB / 356.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3351, allocations: 1.127 MB / 357.3 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3351, allocations: 4 kB / 357.3 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3354, allocations: 68.11 kB / 357.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-05/0.3355, allocations: 24.86 kB / 357.4 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.3355, allocations: 15.94 kB / 357.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.3365, allocations: 1.272 MB / 358.7 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3365, allocations: 0 / 358.7 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.3375, allocations: 0.596 MB / 359.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.3378, allocations: 180.1 kB / 359.5 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3379, allocations: 11.98 kB / 359.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.3383, allocations: 27.98 kB / 359.5 MB, free: 2.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3384, allocations: 31.91 kB / 359.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3384, allocations: 4 kB / 359.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008795/0.3393, allocations: 0.5146 MB / 360.1 MB, free: 2 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3393, allocations: 0 / 360.1 MB, free: 2 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009116/0.3402, allocations: 172 kB / 360.2 MB, free: 1.832 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.0002628/0.3405, allocations: 123.2 kB / 360.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3416, allocations: 496.7 kB / 360.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3416, allocations: 0 / 360.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.342, allocations: 250.5 kB / 361.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3431, allocations: 183.6 kB / 361.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.3464, allocations: 1.793 MB / 363.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.3472, allocations: 0.9565 MB / 364 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004495/0.3477, allocations: 102.2 kB / 364.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3478, allocations: 47.44 kB / 364.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3478, allocations: 0 / 364.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Templates: time 0.01809/0.3659, allocations: 7.696 MB / 371.9 MB, free: 6.086 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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)