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.001539/0.001539, allocations: 109.8 kB / 18.45 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.001903/0.001903, allocations: 208 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.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2179, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009646/0.2276, allocations: 8.882 MB / 418.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.2323, allocations: 2.878 MB / 421.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.233, allocations: 47.81 kB / 421.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.2344, allocations: 0.6407 MB / 422.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.236, allocations: 0.7457 MB / 423.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.2367, allocations: 319.6 kB / 423.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.2388, allocations: 2.233 MB / 425.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.2407, allocations: 1.742 MB / 427.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.2419, allocations: 1.032 MB / 428.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2435, allocations: 1.281 MB / 429.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.2438, allocations: 268 kB / 430 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.2444, allocations: 363.8 kB / 430.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.2452, allocations: 0.7636 MB / 431.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.2462, allocations: 1.209 MB / 432.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.2492, allocations: 3.537 MB / 435.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2493, allocations: 0 / 435.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2493, allocations: 0 / 435.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.2493, allocations: 4 kB / 435.9 MB, free: 7.504 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.004525/0.2538, allocations: 2.501 MB / 438.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2539, allocations: 8.031 kB / 438.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007064/0.2546, allocations: 258.2 kB / 438.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.2566, allocations: 1.298 MB / 439.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.2567, allocations: 139.9 kB / 440.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.257, allocations: 187.8 kB / 440.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.2608, allocations: 2.371 MB / 442.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.2609, allocations: 11.91 kB / 442.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.261, allocations: 75.98 kB / 442.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.823e-05/0.2612, allocations: 91.5 kB / 442.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.2644, allocations: 1.969 MB / 444.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.2749, allocations: 7.054 MB / 451.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.2774, allocations: 1.269 MB / 453.1 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.2796, allocations: 0.8586 MB / 453.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.2799, allocations: 126.1 kB / 454.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.2799, allocations: 43.5 kB / 454.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 4.288e-06/0.2799, allocations: 0 / 454.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01813/0.2981, allocations: 6.101 MB / 460.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2982, allocations: 60.41 kB / 460.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.3006, allocations: 1.223 MB / 461.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.3007, allocations: 45.7 kB / 461.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008717/0.3016, allocations: 0.8652 MB / 462.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.302, allocations: 362.8 kB / 462.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/0.3025, allocations: 218.8 kB / 463 MB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3027, allocations: 357.9 kB / 463.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.3043, allocations: 0.6155 MB / 463.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.3061, allocations: 0.9227 MB / 464.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.3094, allocations: 1.643 MB / 466.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.3094, allocations: 4 kB / 466.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003668/0.3131, allocations: 2.223 MB / 468.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3131, allocations: 8 kB / 468.7 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3132, allocations: 8 kB / 468.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3142, allocations: 480.2 kB / 469.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/0.3153, allocations: 271.6 kB / 469.5 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.3218, allocations: 7.013 MB / 476.5 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.3228, allocations: 87.81 kB / 476.6 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.862e-05/0.3229, allocations: 55.86 kB / 476.6 MB, free: 13.35 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.0009164/0.3238, allocations: 0.6028 MB / 477.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.3241, allocations: 134.4 kB / 477.4 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.3276, allocations: 2.027 MB / 479.4 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.3276, allocations: 7.969 kB / 479.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3276, allocations: 0 / 479.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.3282, allocations: 347.2 kB / 479.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.3284, allocations: 23.98 kB / 479.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.3292, allocations: 75.91 kB / 479.8 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.3294, allocations: 88.86 kB / 479.9 MB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004317/0.3337, allocations: 2.059 MB / 482 MB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0035/0.3373, allocations: 2.412 MB / 484.4 MB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000976/0.3382, allocations: 0.6753 MB / 485.1 MB, free: 4.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001262/0.3395, allocations: 0.8384 MB / 485.9 MB, free: 3.953 MB / 398.1 MB Notification: Performance of Backend: time 3.31e-07/0.3395, allocations: 0 / 485.9 MB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.3428, allocations: 1.753 MB / 487.7 MB, free: 2.109 MB / 398.1 MB Notification: Performance of SimCode: time 0.006204/0.349, allocations: 4.23 MB / 491.9 MB, free: 13.83 MB / 414.1 MB Notification: Performance of Templates: time 0.03785/0.3869, allocations: 23.89 MB / 0.5037 GB, free: 6.133 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)