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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009689/0.0009689, allocations: 108.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008774/0.0008774, allocations: 48.16 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2049, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006706/0.2116, allocations: 8.159 MB / 415.2 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003731/0.2154, allocations: 2.718 MB / 417.9 MB, free: 16.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005317/0.2159, allocations: 39.81 kB / 418 MB, free: 16.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.2171, allocations: 0.5518 MB / 418.5 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009278/0.2181, allocations: 0.575 MB / 419.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.2185, allocations: 254.7 kB / 419.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.22, allocations: 2.374 MB / 421.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.221, allocations: 1.159 MB / 422.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.2218, allocations: 0.7938 MB / 423.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.2227, allocations: 1.039 MB / 424.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.2229, allocations: 144 kB / 424.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.2234, allocations: 243.8 kB / 425.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.2237, allocations: 0.5491 MB / 425.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007063/0.2245, allocations: 0.9369 MB / 426.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.226, allocations: 2.897 MB / 429.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2261, allocations: 4 kB / 429.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2261, allocations: 0 / 429.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.2261, allocations: 0 / 429.5 MB, free: 5.277 MB / 298.7 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.003515/0.2296, allocations: 2.125 MB / 431.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2297, allocations: 12.03 kB / 431.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.2302, allocations: 222.5 kB / 431.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.2318, allocations: 1.099 MB / 432.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.2318, allocations: 111.4 kB / 433 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.232, allocations: 159.8 kB / 433.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.2346, allocations: 1.955 MB / 435.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/0.2346, allocations: 8 kB / 435.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.2348, allocations: 59.98 kB / 435.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.482e-05/0.2349, allocations: 78.92 kB / 435.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.2375, allocations: 1.585 MB / 436.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009557/0.2471, allocations: 6.338 MB / 443.2 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.2484, allocations: 0.8245 MB / 444 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009768/0.2494, allocations: 0.5853 MB / 444.6 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.2496, allocations: 113.6 kB / 444.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2497, allocations: 47.06 kB / 444.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.826e-06/0.2497, allocations: 0 / 444.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.0129/0.2626, allocations: 5.841 MB / 450.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2627, allocations: 64.34 kB / 450.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.2641, allocations: 1.141 MB / 451.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.2642, allocations: 41.7 kB / 451.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/0.2647, allocations: 0.7786 MB / 452.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.265, allocations: 295.8 kB / 452.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.2653, allocations: 210.7 kB / 453.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2654, allocations: 353.9 kB / 453.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.2662, allocations: 0.5452 MB / 454 MB, free: 12.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/0.2671, allocations: 0.8757 MB / 454.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.269, allocations: 1.527 MB / 456.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.269, allocations: 0 / 456.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003272/0.2723, allocations: 2.047 MB / 458.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2723, allocations: 12 kB / 458.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2724, allocations: 11.94 kB / 458.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.2737, allocations: 0.5516 MB / 459.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.2745, allocations: 243.6 kB / 459.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007934/0.2825, allocations: 7.915 MB / 467.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009728/0.2835, allocations: 76.08 kB / 467.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.2836, allocations: 48 kB / 467.3 MB, free: 13.92 MB / 346.7 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.0007952/0.2844, allocations: 0.5236 MB / 467.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.2846, allocations: 122.5 kB / 468 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.2876, allocations: 1.766 MB / 469.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.2876, allocations: 12 kB / 469.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2876, allocations: 4 kB / 469.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2876, allocations: 7.984 kB / 469.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006747/0.2944, allocations: 3.754 MB / 473.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2944, allocations: 0 / 473.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.295, allocations: 127.8 kB / 473.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.2965, allocations: 0.5889 MB / 474.2 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.2966, allocations: 23.98 kB / 474.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/0.304, allocations: 7.067 MB / 481.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.304, allocations: 0 / 481.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03099/0.335, allocations: 21.61 MB / 0.4911 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000578/0.3356, allocations: 315.5 kB / 0.4914 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3358, allocations: 23.98 kB / 0.4915 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.3364, allocations: 55.94 kB / 0.4915 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.3366, allocations: 72.44 kB / 0.4916 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.3367, allocations: 23.98 kB / 0.4916 GB, free: 8.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.3377, allocations: 0.7895 MB / 0.4924 GB, free: 7.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3377, allocations: 4 kB / 0.4924 GB, free: 7.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001515/0.3392, allocations: 0.5312 MB / 0.4929 GB, free: 7.309 MB / 378.7 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.0003087/0.3395, allocations: 175.9 kB / 0.4931 GB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003/0.3425, allocations: 2.142 MB / 0.4952 GB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3426, allocations: 0 / 0.4952 GB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.3445, allocations: 1.295 MB / 0.4964 GB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3461, allocations: 356.3 kB / 0.4968 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1548/0.501, allocations: 5.308 MB / 0.502 GB, free: 90.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.5019, allocations: 1.502 MB / 0.5034 GB, free: 89.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008995/0.5029, allocations: 274.6 kB / 0.5037 GB, free: 89.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.5031, allocations: 88.84 kB / 0.5038 GB, free: 89.5 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5031, allocations: 0 / 0.5038 GB, free: 89.5 MB / 378.7 MB Notification: Performance of Templates: time 0.03458/0.5377, allocations: 26.56 MB / 0.5297 GB, free: 71.16 MB / 378.7 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)