Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 113.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2248, allocations: 50.55 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.00942/0.2342, allocations: 8.863 MB / 418.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00433/0.2386, allocations: 2.894 MB / 421.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.2392, allocations: 43.81 kB / 421.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.2405, allocations: 0.6368 MB / 422.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2419, allocations: 0.7418 MB / 423.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.2425, allocations: 327.5 kB / 423.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.2447, allocations: 2.241 MB / 425.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.2465, allocations: 1.738 MB / 427.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.2478, allocations: 1.032 MB / 428.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.2495, allocations: 1.292 MB / 429.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.2499, allocations: 268 kB / 430 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.2505, allocations: 363.8 kB / 430.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006824/0.2512, allocations: 0.7558 MB / 431.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.2523, allocations: 1.213 MB / 432.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.2554, allocations: 3.541 MB / 435.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2555, allocations: 0 / 435.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2555, allocations: 0 / 435.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.2555, allocations: 0 / 435.9 MB, free: 7.492 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004556/0.2601, allocations: 2.493 MB / 438.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2601, allocations: 8.031 kB / 438.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.2608, allocations: 254.2 kB / 438.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.2629, allocations: 1.305 MB / 439.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.263, allocations: 131.9 kB / 440.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.2633, allocations: 187.8 kB / 440.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.267, allocations: 2.378 MB / 442.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/0.2671, allocations: 3.906 kB / 442.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.2673, allocations: 75.94 kB / 442.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-05/0.2674, allocations: 91.5 kB / 442.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.2706, allocations: 1.962 MB / 444.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.2807, allocations: 7.058 MB / 451.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.2825, allocations: 1.281 MB / 453.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.284, allocations: 0.8542 MB / 453.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.2842, allocations: 114.1 kB / 454.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2843, allocations: 43.56 kB / 454.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.2843, allocations: 4 kB / 454.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01312/0.2974, allocations: 6.105 MB / 460.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2975, allocations: 64.41 kB / 460.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.2991, allocations: 1.219 MB / 461.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.2991, allocations: 45.7 kB / 461.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/0.2997, allocations: 0.8614 MB / 462.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.3, allocations: 366.7 kB / 462.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.3003, allocations: 222.8 kB / 463 MB, free: 11.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3005, allocations: 353.9 kB / 463.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.3015, allocations: 0.6194 MB / 463.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3026, allocations: 0.9188 MB / 464.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.3049, allocations: 1.639 MB / 466.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3049, allocations: 4 kB / 466.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003796/0.3087, allocations: 2.227 MB / 468.7 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3087, allocations: 12 kB / 468.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3087, allocations: 11.98 kB / 468.7 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3098, allocations: 475.9 kB / 469.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3109, allocations: 275.6 kB / 469.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/0.3174, allocations: 7.013 MB / 476.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.3185, allocations: 83.81 kB / 476.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.3186, allocations: 48 kB / 476.6 MB, free: 13.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009213/0.3196, allocations: 0.5988 MB / 477.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.3198, allocations: 134.4 kB / 477.4 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/0.3232, allocations: 2.031 MB / 479.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3233, allocations: 3.984 kB / 479.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3233, allocations: 4 kB / 479.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.3239, allocations: 351.1 kB / 479.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3241, allocations: 24 kB / 479.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.3249, allocations: 79.91 kB / 479.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.3251, allocations: 84.84 kB / 479.9 MB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004282/0.3293, allocations: 2.067 MB / 482 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003394/0.3327, allocations: 2.416 MB / 484.4 MB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009537/0.3337, allocations: 0.6675 MB / 485.1 MB, free: 4.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.3349, allocations: 0.8383 MB / 485.9 MB, free: 3.945 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3349, allocations: 0 / 485.9 MB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003211/0.3381, allocations: 1.75 MB / 487.7 MB, free: 2.105 MB / 398.1 MB Notification: Performance of SimCode: time 0.00582/0.3439, allocations: 4.213 MB / 491.9 MB, free: 13.84 MB / 414.1 MB Notification: Performance of Templates: time 0.03716/0.3811, allocations: 23.91 MB / 0.5037 GB, free: 6.125 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1)