Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 106.3 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 189.3 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2508, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009331/0.2602, allocations: 8.839 MB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.2648, allocations: 2.824 MB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007644/0.2656, allocations: 43.81 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.267, allocations: 0.6327 MB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2686, allocations: 0.7418 MB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.2693, allocations: 319.5 kB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.2714, allocations: 2.222 MB / 417 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.2733, allocations: 1.746 MB / 418.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.2745, allocations: 1.028 MB / 419.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.2761, allocations: 1.281 MB / 421.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.2765, allocations: 268 kB / 421.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006553/0.2771, allocations: 363.8 kB / 421.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.2778, allocations: 0.7519 MB / 422.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.2789, allocations: 1.209 MB / 423.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.2821, allocations: 3.538 MB / 427.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2821, allocations: 0 / 427.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2821, allocations: 0 / 427.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.2822, allocations: 0 / 427.2 MB, free: 14.95 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.004346/0.2865, allocations: 2.538 MB / 429.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2866, allocations: 8.031 kB / 429.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.2872, allocations: 263.4 kB / 430 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.2892, allocations: 1.314 MB / 431.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.2893, allocations: 131.9 kB / 431.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/0.2895, allocations: 192 kB / 431.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.293, allocations: 2.374 MB / 434 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.2931, allocations: 3.953 kB / 434 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.2932, allocations: 72 kB / 434.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.175e-05/0.2933, allocations: 91.5 kB / 434.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.2965, allocations: 1.966 MB / 436.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00957/0.306, allocations: 7.088 MB / 443.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3078, allocations: 1.282 MB / 444.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.3092, allocations: 0.858 MB / 445.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.3095, allocations: 118.1 kB / 445.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3095, allocations: 39.56 kB / 445.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.484e-06/0.3095, allocations: 0 / 445.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01287/0.3224, allocations: 6.135 MB / 451.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3225, allocations: 60.41 kB / 451.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.3241, allocations: 1.219 MB / 452.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/0.3241, allocations: 41.7 kB / 453 MB, free: 4.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.3247, allocations: 0.8792 MB / 453.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.325, allocations: 388.7 kB / 454.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.3254, allocations: 222.9 kB / 454.5 MB, free: 3.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3255, allocations: 361.9 kB / 454.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/0.3265, allocations: 0.6154 MB / 455.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.3277, allocations: 0.9188 MB / 456.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.3299, allocations: 1.635 MB / 458 MB, free: 15.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3299, allocations: 4 kB / 458 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003735/0.3337, allocations: 2.232 MB / 460.2 MB, free: 13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3337, allocations: 8 kB / 460.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.3338, allocations: 12 kB / 460.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3349, allocations: 480 kB / 460.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009946/0.3359, allocations: 271.6 kB / 461 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.3426, allocations: 7.019 MB / 468 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3436, allocations: 83.86 kB / 468.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.3437, allocations: 44 kB / 468.1 MB, free: 4.68 MB / 382.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.00091/0.3446, allocations: 0.599 MB / 468.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.3448, allocations: 139.1 kB / 468.9 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/0.3483, allocations: 2.035 MB / 470.9 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3483, allocations: 7.984 kB / 470.9 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3483, allocations: 0 / 470.9 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.3489, allocations: 344.1 kB / 471.2 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.3491, allocations: 24 kB / 471.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/0.3498, allocations: 87.89 kB / 471.3 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.35, allocations: 84.86 kB / 471.4 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004291/0.3543, allocations: 2.071 MB / 473.5 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003458/0.3578, allocations: 2.417 MB / 475.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009365/0.3587, allocations: 0.6675 MB / 476.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.36, allocations: 0.842 MB / 477.4 MB, free: 11.26 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.36, allocations: 0 / 477.4 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003313/0.3634, allocations: 1.76 MB / 479.2 MB, free: 9.406 MB / 398.1 MB Notification: Performance of SimCode: time 0.006516/0.3699, allocations: 4.268 MB / 483.4 MB, free: 5.082 MB / 398.1 MB Notification: Performance of Templates: time 0.03761/0.4075, allocations: 23.77 MB / 0.4953 GB, free: 13.52 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1)