Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 96.5 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 205.5 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002456, allocations: 4 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09488, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.00839/0.1033, allocations: 7.687 MB / 366.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.1082, allocations: 2.696 MB / 369.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1093, allocations: 35.81 kB / 369.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.1109, allocations: 0.5441 MB / 370.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.1127, allocations: 0.5828 MB / 370.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.1134, allocations: 247.7 kB / 371 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1796/0.293, allocations: 2.345 MB / 373.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.2949, allocations: 1.155 MB / 374.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.2963, allocations: 0.7015 MB / 375.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2977, allocations: 0.9368 MB / 376.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.2979, allocations: 103.3 kB / 376.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.2984, allocations: 201.8 kB / 376.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.299, allocations: 0.4884 MB / 377 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.2998, allocations: 0.9003 MB / 377.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.3028, allocations: 2.82 MB / 380.7 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3028, allocations: 0 / 380.7 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3028, allocations: 0 / 380.7 MB, free: 9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.044e-05/0.3029, allocations: 0 / 380.7 MB, free: 9 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.003456/0.3063, allocations: 1.803 MB / 382.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3064, allocations: 10.59 kB / 382.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.307, allocations: 220.4 kB / 382.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.3085, allocations: 1.108 MB / 383.8 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.3086, allocations: 112.9 kB / 383.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.3088, allocations: 155.2 kB / 384.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.312, allocations: 1.966 MB / 386.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.3121, allocations: 6.062 kB / 386.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.3123, allocations: 62.56 kB / 386.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.3123, allocations: 80.94 kB / 386.2 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.315, allocations: 1.586 MB / 387.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009128/0.3241, allocations: 6.364 MB / 394.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.3255, allocations: 0.8336 MB / 395 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009334/0.3265, allocations: 0.5789 MB / 395.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.3267, allocations: 117.9 kB / 395.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3267, allocations: 41.53 kB / 395.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.785e-06/0.3267, allocations: 1.219 kB / 395.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=85): time 0.01322/0.34, allocations: 5.913 MB / 401.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.3401, allocations: 64.34 kB / 401.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.3421, allocations: 1.149 MB / 402.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.3422, allocations: 41.7 kB / 402.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/0.3428, allocations: 0.7744 MB / 403.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.3431, allocations: 306.8 kB / 404 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3433, allocations: 97.66 kB / 404.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3434, allocations: 345.9 kB / 404.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/0.3442, allocations: 0.5413 MB / 404.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3453, allocations: 0.8817 MB / 405.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.3474, allocations: 1.529 MB / 407.3 MB, free: 7.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3474, allocations: 4 kB / 407.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003607/0.351, allocations: 2.04 MB / 409.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.3511, allocations: 12 kB / 409.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.3511, allocations: 8 kB / 409.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.3526, allocations: 0.5595 MB / 410 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.3535, allocations: 243.9 kB / 410.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.3617, allocations: 7.903 MB / 418.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.363, allocations: 79.77 kB / 418.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.3631, allocations: 44 kB / 418.2 MB, free: 12.16 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 (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.3644, allocations: 0.5264 MB / 418.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.3646, allocations: 122.5 kB / 418.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.3678, allocations: 1.768 MB / 420.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3678, allocations: 11.98 kB / 420.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3678, allocations: 4 kB / 420.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3678, allocations: 4.078 kB / 420.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006499/0.3744, allocations: 3.749 MB / 424.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.3744, allocations: 4.094 kB / 424.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.3749, allocations: 119.4 kB / 424.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.3765, allocations: 0.5997 MB / 425.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.3766, allocations: 27.98 kB / 425.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007816/0.3844, allocations: 7.077 MB / 432.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3845, allocations: 4 kB / 432.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/0.3884, allocations: 2.488 MB / 434.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/0.3892, allocations: 311.5 kB / 435 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.3894, allocations: 20 kB / 435.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.3901, allocations: 59.92 kB / 435.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.3903, allocations: 68.56 kB / 435.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.3904, allocations: 24 kB / 435.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.3921, allocations: 0.7895 MB / 436 MB, free: 9.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3922, allocations: 0 / 436 MB, free: 9.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002132/0.3943, allocations: 379.9 kB / 436.4 MB, free: 9.531 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005225/0.3948, allocations: 175 kB / 436.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005327/0.4002, allocations: 2.143 MB / 438.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/0.4003, allocations: 0.75 kB / 438.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003372/0.4036, allocations: 1.288 MB / 440 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.4073, allocations: 344.7 kB / 440.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009693/0.417, allocations: 4.09 MB / 444.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.419, allocations: 1.464 MB / 445.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001753/0.4208, allocations: 267 kB / 446.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.4212, allocations: 83.42 kB / 446.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4212, allocations: 4 kB / 446.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.0714/0.4926, allocations: 20.6 MB / 466.8 MB, free: 11.06 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)