Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001388/0.001387, 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.001823/0.001823, allocations: 194 kB / 16.14 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 1.713/1.713, allocations: 205.1 MB / 222 MB, free: 4.773 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.001206/0.001206, allocations: 47.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3379, allocations: 46.63 MB / 324.7 MB, free: 2.156 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009054/0.3471, allocations: 7.89 MB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.3527, allocations: 2.594 MB / 335.2 MB, free: 9.766 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.354, allocations: 28.34 kB / 335.2 MB, free: 9.758 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.3554, allocations: 454.5 kB / 335.6 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.3566, allocations: 349.4 kB / 336 MB, free: 8.977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.3571, allocations: 191.8 kB / 336.2 MB, free: 8.789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3583, allocations: 1.167 MB / 337.3 MB, free: 7.617 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.3589, allocations: 471.8 kB / 337.8 MB, free: 7.137 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.3595, allocations: 434.1 kB / 338.2 MB, free: 6.711 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.36, allocations: 0.4937 MB / 338.7 MB, free: 6.215 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3602, allocations: 80 kB / 338.8 MB, free: 6.137 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.3604, allocations: 116 kB / 338.9 MB, free: 6.023 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3606, allocations: 187.2 kB / 339.1 MB, free: 5.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004907/0.3611, allocations: 0.5285 MB / 339.6 MB, free: 5.309 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3623, allocations: 1.405 MB / 341 MB, free: 3.898 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3624, allocations: 0 / 341 MB, free: 3.898 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3624, allocations: 0 / 341 MB, free: 3.898 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3624, allocations: 0 / 341 MB, free: 3.898 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.002146/0.3645, allocations: 1.301 MB / 342.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3646, allocations: 8.031 kB / 342.3 MB, free: 2.535 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.3651, allocations: 151.6 kB / 342.5 MB, free: 2.387 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.366, allocations: 0.6414 MB / 343.1 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.3661, allocations: 66.38 kB / 343.2 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3662, allocations: 83.94 kB / 343.3 MB, free: 1.555 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3676, allocations: 0.8223 MB / 344.1 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.3676, allocations: 7.906 kB / 344.1 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.3677, allocations: 36 kB / 344.1 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.3677, allocations: 20 kB / 344.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3687, allocations: 0.5426 MB / 344.7 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.373, allocations: 3.578 MB / 348.3 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.3736, allocations: 250.7 kB / 348.5 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.3738, allocations: 116.8 kB / 348.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3739, allocations: 0 / 348.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3739, allocations: 42.56 kB / 348.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.092e-06/0.3739, allocations: 0 / 348.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002141/0.376, allocations: 1.071 MB / 349.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3761, allocations: 89.05 kB / 349.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3772, allocations: 0.7584 MB / 350.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3772, allocations: 33.7 kB / 350.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.3776, allocations: 0.5097 MB / 351.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.41e-05/0.3777, allocations: 106.6 kB / 351.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3779, allocations: 122.1 kB / 351.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3781, allocations: 386.8 kB / 351.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.3783, allocations: 129.2 kB / 351.9 MB, free: 8.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.3788, allocations: 450.2 kB / 352.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.3797, allocations: 0.614 MB / 352.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3797, allocations: 0 / 352.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001077/0.3808, allocations: 0.65 MB / 353.6 MB, free: 6.523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3808, allocations: 8 kB / 353.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.3808, allocations: 15.94 kB / 353.6 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.381, allocations: 32.84 kB / 353.6 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.3815, allocations: 151.7 kB / 353.8 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.3826, allocations: 1.292 MB / 355.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.3832, allocations: 44.05 kB / 355.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.3832, allocations: 35.98 kB / 355.1 MB, free: 4.809 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.0003587/0.3836, allocations: 242 kB / 355.4 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3837, allocations: 75.06 kB / 355.4 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.3844, allocations: 342.1 kB / 355.8 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3844, allocations: 4 kB / 355.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3844, allocations: 0 / 355.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3844, allocations: 0 / 355.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.386, allocations: 1.129 MB / 356.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.386, allocations: 4 kB / 356.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3863, allocations: 63.89 kB / 357 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.3864, allocations: 25.06 kB / 357 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.3865, allocations: 8 kB / 357 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3876, allocations: 1.268 MB / 358.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3876, allocations: 0 / 358.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.3885, allocations: 0.5759 MB / 358.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.3888, allocations: 168.3 kB / 359 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.3889, allocations: 15.92 kB / 359 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.3892, allocations: 27.92 kB / 359.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.3893, allocations: 27.91 kB / 359.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3893, allocations: 8 kB / 359.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007129/0.3901, allocations: 0.5186 MB / 359.6 MB, free: 32 kB / 286.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3901, allocations: 0 / 359.6 MB, free: 32 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.3909, allocations: 172 kB / 359.8 MB, free: 15.86 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.0003027/0.3912, allocations: 115.3 kB / 359.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3923, allocations: 484.6 kB / 360.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3923, allocations: 3.938 kB / 360.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.3927, allocations: 243.1 kB / 360.6 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3937, allocations: 167.2 kB / 360.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.3969, allocations: 1.822 MB / 362.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.3977, allocations: 0.9565 MB / 363.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004226/0.3981, allocations: 90.17 kB / 363.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3982, allocations: 51.44 kB / 363.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3982, allocations: 3.938 kB / 363.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01637/0.4146, allocations: 7.978 MB / 371.7 MB, free: 3.863 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)