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.001329/0.001329, allocations: 115.1 kB / 17.06 MB, free: 5.965 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.001495/0.001495, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.897/1.897, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001425/0.001425, allocations: 48.41 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1465, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.3528/0.4993, allocations: 7.91 MB / 382.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.5057, allocations: 2.618 MB / 385 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.5075, allocations: 22.66 kB / 385 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.5099, allocations: 0.501 MB / 385.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.5126, allocations: 396.5 kB / 385.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.5135, allocations: 223.5 kB / 386.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.5156, allocations: 1.233 MB / 387.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009182/0.5165, allocations: 0.5354 MB / 387.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.5177, allocations: 492.2 kB / 388.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.5187, allocations: 0.5121 MB / 388.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.5189, allocations: 115.2 kB / 389 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.5194, allocations: 152.2 kB / 389.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.5196, allocations: 240.8 kB / 389.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.5202, allocations: 0.5647 MB / 390 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.5223, allocations: 1.454 MB / 391.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.5223, allocations: 0 / 391.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5224, allocations: 5.375 kB / 391.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.5224, allocations: 0 / 391.4 MB, free: 4.785 MB / 318.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.002729/0.5251, allocations: 1.31 MB / 392.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.5252, allocations: 9.312 kB / 392.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000646/0.5259, allocations: 148.1 kB / 392.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.5271, allocations: 0.645 MB / 393.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.5272, allocations: 64.56 kB / 393.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5274, allocations: 88.25 kB / 393.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.5289, allocations: 0.8192 MB / 394.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.529, allocations: 1.781 kB / 394.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.529, allocations: 36.34 kB / 394.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.5291, allocations: 21.42 kB / 394.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5303, allocations: 0.5364 MB / 395.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.5358, allocations: 3.555 MB / 398.7 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.5366, allocations: 238.2 kB / 398.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.537, allocations: 124 kB / 399 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.537, allocations: 2.609 kB / 399 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.5371, allocations: 37.78 kB / 399.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 4.228e-06/0.5371, allocations: 3.938 kB / 399.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.003527/0.5406, allocations: 1.08 MB / 400.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.5408, allocations: 83.83 kB / 400.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.5425, allocations: 0.7624 MB / 401 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.5426, allocations: 32.12 kB / 401 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.5432, allocations: 0.5072 MB / 401.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.5434, allocations: 120.9 kB / 401.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.5437, allocations: 121.5 kB / 401.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.544, allocations: 382.6 kB / 402.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.5443, allocations: 128.2 kB / 402.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.545, allocations: 452.1 kB / 402.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.546, allocations: 0.6132 MB / 403.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.546, allocations: 2.656 kB / 403.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001874/0.5479, allocations: 0.6479 MB / 404 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.548, allocations: 9.875 kB / 404 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.548, allocations: 16.02 kB / 404 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.5483, allocations: 38.73 kB / 404 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5489, allocations: 153.4 kB / 404.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.5506, allocations: 1.392 MB / 405.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.5515, allocations: 38.39 kB / 405.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.5516, allocations: 35.28 kB / 405.6 MB, free: 10.97 MB / 334.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.0005868/0.5522, allocations: 246.7 kB / 405.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.5524, allocations: 77.02 kB / 406 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/0.5533, allocations: 332.5 kB / 406.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5533, allocations: 2.844 kB / 406.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5533, allocations: 1.062 kB / 406.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5533, allocations: 3.938 kB / 406.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.5557, allocations: 1.119 MB / 407.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.475e-06/0.5558, allocations: 6.531 kB / 407.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.5561, allocations: 66.45 kB / 407.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.5562, allocations: 23.94 kB / 407.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5563, allocations: 8.188 kB / 407.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.5574, allocations: 1.373 MB / 408.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5574, allocations: 1.5 kB / 408.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.5587, allocations: 0.5677 MB / 409.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.5591, allocations: 182.3 kB / 409.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.5592, allocations: 11.28 kB / 409.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.5595, allocations: 19.08 kB / 409.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.5596, allocations: 26.91 kB / 409.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.5597, allocations: 19.83 kB / 409.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009176/0.5606, allocations: 0.5147 MB / 410.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5606, allocations: 0 / 410.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001157/0.5618, allocations: 170.6 kB / 410.4 MB, free: 7.246 MB / 334.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.0002946/0.5621, allocations: 113.9 kB / 410.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.5633, allocations: 488.2 kB / 411 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5633, allocations: 1.25 kB / 411 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.5637, allocations: 238.2 kB / 411.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5648, allocations: 198.6 kB / 411.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.5679, allocations: 1.464 MB / 412.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.5686, allocations: 0.9518 MB / 413.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.569, allocations: 92.02 kB / 413.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.5691, allocations: 52.53 kB / 414 MB, free: 4.75 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5691, allocations: 3.938 kB / 414 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Templates: time 0.02088/0.59, allocations: 8.769 MB / 422.7 MB, free: 14.11 MB / 350.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)