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.001098/0.001098, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2145, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.008703/0.2232, allocations: 8.207 MB / 418.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.2274, allocations: 2.742 MB / 420.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.2279, allocations: 35.88 kB / 420.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.2293, allocations: 0.6448 MB / 421.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2305, allocations: 0.6679 MB / 422.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.231, allocations: 287.6 kB / 422.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2328, allocations: 2.039 MB / 424.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.2342, allocations: 1.421 MB / 426 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/0.2352, allocations: 0.9032 MB / 426.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.2363, allocations: 1.07 MB / 428 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.2366, allocations: 224 kB / 428.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.237, allocations: 319.8 kB / 428.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.2376, allocations: 0.635 MB / 429.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008368/0.2384, allocations: 1.034 MB / 430.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.2409, allocations: 2.996 MB / 433.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2409, allocations: 0 / 433.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2409, allocations: 0 / 433.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.241, allocations: 0 / 433.2 MB, free: 10.28 MB / 350.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.003471/0.2444, allocations: 2.141 MB / 435.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2445, allocations: 8.031 kB / 435.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/0.245, allocations: 218.6 kB / 435.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.2467, allocations: 1.138 MB / 436.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.2468, allocations: 115.4 kB / 436.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.247, allocations: 159.8 kB / 436.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.25, allocations: 1.955 MB / 438.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.2501, allocations: 11.91 kB / 438.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.2502, allocations: 60 kB / 438.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.2503, allocations: 78.91 kB / 439 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.2527, allocations: 1.585 MB / 440.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008418/0.2612, allocations: 6.272 MB / 446.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2626, allocations: 0.8341 MB / 447.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009869/0.2636, allocations: 0.5714 MB / 448.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.2638, allocations: 121.6 kB / 448.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2638, allocations: 39.12 kB / 448.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.535e-06/0.2638, allocations: 0 / 448.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01327/0.2771, allocations: 5.838 MB / 454.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2772, allocations: 60.41 kB / 454.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.2787, allocations: 1.156 MB / 455.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.2788, allocations: 41.7 kB / 455.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.2793, allocations: 0.7709 MB / 456.3 MB, free: 2.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.2795, allocations: 311.6 kB / 456.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/0.2799, allocations: 202.8 kB / 456.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.28, allocations: 349.9 kB / 457.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.2808, allocations: 0.5452 MB / 457.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/0.2818, allocations: 0.8796 MB / 458.6 MB, free: 64 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.2837, allocations: 1.524 MB / 460.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.2837, allocations: 4 kB / 460.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003337/0.287, allocations: 2.051 MB / 462.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2871, allocations: 11.94 kB / 462.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.2871, allocations: 12 kB / 462.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.2885, allocations: 0.5553 MB / 462.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.2893, allocations: 239.6 kB / 463 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00829/0.2976, allocations: 8.644 MB / 471.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.2985, allocations: 75.86 kB / 471.7 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.2986, allocations: 48 kB / 471.7 MB, free: 2.152 MB / 382.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.0007762/0.2994, allocations: 0.5209 MB / 472.3 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.2996, allocations: 122.5 kB / 472.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.3027, allocations: 1.77 MB / 474.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3027, allocations: 3.984 kB / 474.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3027, allocations: 0 / 474.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.3032, allocations: 311.5 kB / 474.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.3034, allocations: 23.98 kB / 474.5 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/0.304, allocations: 63.92 kB / 474.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3042, allocations: 81 kB / 474.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003871/0.3081, allocations: 1.906 MB / 476.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002633/0.3107, allocations: 2.082 MB / 478.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000738/0.3115, allocations: 0.5699 MB / 479.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.3125, allocations: 0.7895 MB / 480 MB, free: 9.824 MB / 398.1 MB Notification: Performance of Backend: time 2.61e-07/0.3125, allocations: 0 / 480 MB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003192/0.3157, allocations: 1.82 MB / 481.8 MB, free: 7.898 MB / 398.1 MB Notification: Performance of SimCode: time 0.005152/0.3209, allocations: 3.762 MB / 485.5 MB, free: 4.086 MB / 398.1 MB Notification: Performance of Templates: time 0.0334/0.3543, allocations: 22.27 MB / 0.4959 GB, free: 14.02 MB / 430.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)