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.001544/0.001544, allocations: 109.2 kB / 17.75 MB, free: 5.223 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.001828/0.001828, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 47.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.231, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009389/0.2404, allocations: 8.852 MB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004491/0.2449, allocations: 2.825 MB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008342/0.2458, allocations: 43.81 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.2473, allocations: 0.6251 MB / 413.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.2492, allocations: 0.7457 MB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.2499, allocations: 315.5 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.2523, allocations: 2.222 MB / 417 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.2546, allocations: 1.75 MB / 418.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.2559, allocations: 1.02 MB / 419.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.2578, allocations: 1.292 MB / 421.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.2584, allocations: 268 kB / 421.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008855/0.2593, allocations: 355.8 kB / 421.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009003/0.2602, allocations: 0.7519 MB / 422.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.2617, allocations: 1.213 MB / 423.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.265, allocations: 3.52 MB / 427.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.265, allocations: 0 / 427.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.265, allocations: 4 kB / 427.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.265, allocations: 0 / 427.2 MB, free: 14.99 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.004464/0.2695, allocations: 2.477 MB / 429.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2695, allocations: 12.03 kB / 429.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.2702, allocations: 246.2 kB / 429.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.2723, allocations: 1.309 MB / 431.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.2724, allocations: 131.9 kB / 431.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.2727, allocations: 192 kB / 431.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.2764, allocations: 2.371 MB / 433.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.2765, allocations: 7.938 kB / 433.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.2766, allocations: 72 kB / 434 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.744e-05/0.2767, allocations: 95.44 kB / 434.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.28, allocations: 1.966 MB / 436.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.2901, allocations: 7.058 MB / 443.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.292, allocations: 1.286 MB / 444.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.2935, allocations: 0.8581 MB / 445.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.2937, allocations: 118.1 kB / 445.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2938, allocations: 43.56 kB / 445.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.916e-06/0.2938, allocations: 0 / 445.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01339/0.3072, allocations: 6.093 MB / 451.5 MB, free: 6.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3073, allocations: 64.39 kB / 451.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.3089, allocations: 1.211 MB / 452.8 MB, free: 4.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-05/0.3089, allocations: 45.7 kB / 452.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.3095, allocations: 0.8651 MB / 453.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.3098, allocations: 362.8 kB / 454 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.3101, allocations: 218.8 kB / 454.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3103, allocations: 357.9 kB / 454.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.3113, allocations: 0.6272 MB / 455.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.3124, allocations: 0.9188 MB / 456.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.3147, allocations: 1.643 MB / 457.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3147, allocations: 0 / 457.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003607/0.3183, allocations: 2.227 MB / 460 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3184, allocations: 8 kB / 460 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3184, allocations: 8 kB / 460 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.3195, allocations: 486.2 kB / 460.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.3205, allocations: 267.6 kB / 460.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006584/0.3271, allocations: 7.02 MB / 467.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/0.3281, allocations: 83.83 kB / 467.9 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.3282, allocations: 47.98 kB / 467.9 MB, free: 4.883 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.000944/0.3291, allocations: 0.5951 MB / 468.5 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.3294, allocations: 138.4 kB / 468.7 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.3328, allocations: 2.027 MB / 470.7 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3329, allocations: 7.969 kB / 470.7 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3329, allocations: 0 / 470.7 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/0.3335, allocations: 343.3 kB / 471 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.3337, allocations: 23.98 kB / 471.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.3345, allocations: 79.91 kB / 471.1 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3346, allocations: 84.86 kB / 471.2 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00427/0.3389, allocations: 2.059 MB / 473.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003437/0.3424, allocations: 2.412 MB / 475.7 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009642/0.3434, allocations: 0.6714 MB / 476.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.3445, allocations: 0.8343 MB / 477.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3445, allocations: 3.938 kB / 477.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.3477, allocations: 1.748 MB / 478.9 MB, free: 9.656 MB / 398.1 MB Notification: Performance of SimCode: time 0.00626/0.354, allocations: 4.213 MB / 483.2 MB, free: 5.391 MB / 398.1 MB Notification: Performance of Templates: time 0.03992/0.3939, allocations: 23.78 MB / 0.4951 GB, free: 13.82 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)