Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 96.39 kB / 16.31 MB, free: 6.461 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.001761/0.001762, allocations: 173.4 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002792, allocations: 6.766 kB / 300.7 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1085, allocations: 50.43 MB / 351.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.007339/0.1159, allocations: 6.588 MB / 357.7 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.1206, allocations: 2.62 MB / 360.4 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009796/0.1216, allocations: 31.88 kB / 360.4 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.123, allocations: 0.5132 MB / 360.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.1244, allocations: 0.5336 MB / 361.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.125, allocations: 183.7 kB / 361.6 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.1267, allocations: 1.338 MB / 363 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.1279, allocations: 0.9519 MB / 363.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.1288, allocations: 0.6383 MB / 364.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009537/0.1297, allocations: 0.7705 MB / 365.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.1299, allocations: 100 kB / 365.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.1304, allocations: 175.8 kB / 365.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.1309, allocations: 462.7 kB / 366 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.1312, allocations: 380.8 kB / 366.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.1334, allocations: 2.388 MB / 368.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1335, allocations: 8 kB / 368.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1335, allocations: 0 / 368.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.917e-05/0.1336, allocations: 0 / 368.8 MB, free: 9.961 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003907/0.1375, allocations: 1.817 MB / 370.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1375, allocations: 8.031 kB / 370.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.1384, allocations: 217.6 kB / 370.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.1412, allocations: 1.079 MB / 371.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.1413, allocations: 119 kB / 372 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.1415, allocations: 155.9 kB / 372.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.1447, allocations: 1.935 MB / 374.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.1448, allocations: 7.906 kB / 374.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.1449, allocations: 60 kB / 374.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.145, allocations: 82.91 kB / 374.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1476, allocations: 1.569 MB / 375.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009188/0.1568, allocations: 6.339 MB / 382.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.1581, allocations: 0.8306 MB / 383 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.1584, allocations: 121.6 kB / 383.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1584, allocations: 43.62 kB / 383.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=65): time 4.138e-06/0.1584, allocations: 0 / 383.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=85): time 0.01316/0.1716, allocations: 5.912 MB / 389.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1717, allocations: 64.41 kB / 389.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.1734, allocations: 1.121 MB / 390.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/0.1735, allocations: 41.7 kB / 390.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.1741, allocations: 0.7747 MB / 391.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.1744, allocations: 299.7 kB / 391.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1744, allocations: 27.94 kB / 391.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1746, allocations: 357.9 kB / 391.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.1754, allocations: 0.5374 MB / 392.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.1763, allocations: 0.8757 MB / 393.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.1772, allocations: 0.6901 MB / 393.9 MB, free: 148 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1773, allocations: 4 kB / 393.9 MB, free: 144 kB / 318.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003332/0.1806, allocations: 2.039 MB / 395.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.1806, allocations: 12.25 kB / 395.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.1807, allocations: 12 kB / 395.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.1821, allocations: 0.5514 MB / 396.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.1829, allocations: 243.6 kB / 396.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.1908, allocations: 8.041 MB / 404.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.1919, allocations: 71.94 kB / 404.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/0.192, allocations: 44 kB / 404.9 MB, free: 4.559 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 (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009641/0.193, allocations: 0.5316 MB / 405.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.1932, allocations: 126.5 kB / 405.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.1962, allocations: 1.775 MB / 407.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1963, allocations: 8 kB / 407.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.1963, allocations: 4 kB / 407.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.1963, allocations: 3.984 kB / 407.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/0.2032, allocations: 3.726 MB / 411 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.2032, allocations: 4 kB / 411 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.2038, allocations: 127.8 kB / 411.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.2054, allocations: 0.5966 MB / 411.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.2055, allocations: 23.98 kB / 411.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007618/0.2131, allocations: 7.254 MB / 419 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.2131, allocations: 7.938 kB / 419 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.217, allocations: 2.575 MB / 421.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/0.2177, allocations: 311.5 kB / 421.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.2179, allocations: 23.94 kB / 421.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/0.2185, allocations: 63.94 kB / 422 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.2187, allocations: 68.48 kB / 422.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/0.2188, allocations: 27.95 kB / 422.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.22, allocations: 0.7659 MB / 422.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.22, allocations: 4 kB / 422.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001338/0.2213, allocations: 372 kB / 423.2 MB, free: 1.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,69.4%) 14,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.2217, allocations: 143.1 kB / 423.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.2021/0.4238, allocations: 2.133 MB / 425.5 MB, free: 63.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.4238, allocations: 2.75 kB / 425.5 MB, free: 63.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.4258, allocations: 1.304 MB / 426.8 MB, free: 63.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.4276, allocations: 327.8 kB / 427.1 MB, free: 63.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.4328, allocations: 3.898 MB / 431 MB, free: 61.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.4343, allocations: 1.489 MB / 432.5 MB, free: 60.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.4354, allocations: 276.1 kB / 432.8 MB, free: 60.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.4356, allocations: 81.47 kB / 432.9 MB, free: 60.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4356, allocations: 0 / 432.9 MB, free: 60.75 MB / 350.1 MB Notification: Performance of Templates: time 0.02949/0.4651, allocations: 19.86 MB / 452.7 MB, free: 49.84 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)