Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 107.2 kB / 17.74 MB, free: 5.359 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.001608/0.001608, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009409/0.0009409, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2063, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01282/0.2192, allocations: 12.82 MB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006168/0.2254, allocations: 4.241 MB / 418.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.2261, allocations: 79.69 kB / 418.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.2281, allocations: 1.017 MB / 419.6 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.2305, allocations: 1.313 MB / 420.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2321, allocations: 0.8414 MB / 421.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.2356, allocations: 3.879 MB / 425.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.2387, allocations: 3.22 MB / 428.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.2409, allocations: 1.846 MB / 430.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.2433, allocations: 2.071 MB / 432.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005904/0.2439, allocations: 0.4961 MB / 433.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.2451, allocations: 0.699 MB / 434 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008758/0.246, allocations: 1.103 MB / 435.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.2478, allocations: 2.077 MB / 437.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.2532, allocations: 6.594 MB / 443.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2532, allocations: 0 / 443.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2533, allocations: 0 / 443.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.883e-05/0.2533, allocations: 0 / 443.7 MB, free: 14.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009173/0.2625, allocations: 4.308 MB / 448 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2625, allocations: 8.031 kB / 448 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.2667, allocations: 0.8008 MB / 448.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.2705, allocations: 2.387 MB / 451.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.2707, allocations: 238.4 kB / 451.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004401/0.2711, allocations: 311.9 kB / 451.8 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00644/0.2776, allocations: 4.227 MB / 456 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.2776, allocations: 7.891 kB / 456 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.2779, allocations: 128 kB / 456.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.2781, allocations: 150.3 kB / 456.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/0.2837, allocations: 3.616 MB / 459.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.3009, allocations: 13 MB / 472.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006514/0.3074, allocations: 6.907 MB / 479.8 MB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.3095, allocations: 1.339 MB / 481.1 MB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00573/0.3153, allocations: 3.728 MB / 484.9 MB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3153, allocations: 47.55 kB / 484.9 MB, free: 3.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.186e-06/0.3153, allocations: 0 / 484.9 MB, free: 3.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.009935/0.3253, allocations: 5.396 MB / 490.3 MB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3253, allocations: 68.39 kB / 490.4 MB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.3277, allocations: 1.698 MB / 492.1 MB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.3277, allocations: 45.7 kB / 492.1 MB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009583/0.3287, allocations: 1.403 MB / 493.5 MB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.329, allocations: 437.8 kB / 493.9 MB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.3295, allocations: 283.3 kB / 494.2 MB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.3296, allocations: 301.1 kB / 494.5 MB, free: 9.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3307, allocations: 0.6403 MB / 495.1 MB, free: 9.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.332, allocations: 1.121 MB / 496.3 MB, free: 7.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.3346, allocations: 1.874 MB / 498.1 MB, free: 5.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.3346, allocations: 4 kB / 498.1 MB, free: 5.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003616/0.3382, allocations: 2.319 MB / 0.4887 GB, free: 3.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3382, allocations: 12 kB / 0.4887 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.3383, allocations: 16 kB / 0.4888 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.3389, allocations: 275.4 kB / 0.489 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.3402, allocations: 355.4 kB / 0.4894 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.3456, allocations: 6.194 MB / 0.4954 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.3466, allocations: 80.02 kB / 0.4955 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.3468, allocations: 64 kB / 0.4956 GB, free: 12 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001373/0.3481, allocations: 1.005 MB / 0.4965 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.3484, allocations: 173.8 kB / 0.4967 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.352, allocations: 2.135 MB / 0.4988 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.352, allocations: 11.97 kB / 0.4988 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.352, allocations: 0 / 0.4988 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.3527, allocations: 402.7 kB / 0.4992 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.353, allocations: 28 kB / 0.4992 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.3538, allocations: 63.94 kB / 0.4993 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.354, allocations: 108.8 kB / 0.4994 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004231/0.3582, allocations: 2.027 MB / 0.5014 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003457/0.3617, allocations: 2.365 MB / 0.5037 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009649/0.3627, allocations: 0.6753 MB / 0.5043 GB, free: 2.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.3643, allocations: 1.17 MB / 0.5055 GB, free: 1.715 MB / 430.1 MB Notification: Performance of Backend: time 2.61e-07/0.3643, allocations: 0 / 0.5055 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.3673, allocations: 1.752 MB / 0.5072 GB, free: 15.9 MB / 446.1 MB Notification: Performance of SimCode: time 0.008893/0.3763, allocations: 6.097 MB / 0.5131 GB, free: 9.75 MB / 446.1 MB Notification: Performance of Templates: time 0.2134/0.5897, allocations: 31.33 MB / 0.5437 GB, free: 131.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)