Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001034, allocations: 89.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002392, allocations: 12 kB / 306.6 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.0978, allocations: 51.48 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01121/0.109, allocations: 10.82 MB / 368.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.2749, allocations: 4.234 MB / 373.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.2771, allocations: 69.78 kB / 373.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.28, allocations: 0.7844 MB / 374 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.2846, allocations: 1.142 MB / 375.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.2868, allocations: 0.6194 MB / 375.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005712/0.2926, allocations: 2.731 MB / 378.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.2957, allocations: 2.224 MB / 380.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.2982, allocations: 1.215 MB / 381.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.3009, allocations: 1.434 MB / 383.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.3014, allocations: 203.5 kB / 383.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.303, allocations: 387.9 kB / 383.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.3037, allocations: 0.7056 MB / 384.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3049, allocations: 0.7226 MB / 385.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005285/0.3102, allocations: 5.395 MB / 390.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3102, allocations: 1.125 kB / 390.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3102, allocations: 0 / 390.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001601/0.3104, allocations: 0 / 390.8 MB, free: 6.117 MB / 302.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.009856/0.3202, allocations: 3.702 MB / 394.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3203, allocations: 8.438 kB / 394.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.325, allocations: 0.8088 MB / 395.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/0.3302, allocations: 2.259 MB / 397.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.3304, allocations: 236.1 kB / 397.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007452/0.3312, allocations: 305.9 kB / 398.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00848/0.3397, allocations: 4.187 MB / 402.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.3398, allocations: 9.984 kB / 402.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.3401, allocations: 122.2 kB / 402.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.3402, allocations: 158.7 kB / 402.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006253/0.3465, allocations: 3.601 MB / 406.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.3691, allocations: 13.28 MB / 419.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/0.3763, allocations: 7.165 MB / 426.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00678/0.3831, allocations: 3.408 MB / 430 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.3832, allocations: 55.86 kB / 430 MB, free: 2.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 3.416e-06/0.3832, allocations: 0 / 430 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.01164/0.3948, allocations: 5.658 MB / 435.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3949, allocations: 64.72 kB / 435.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.3977, allocations: 1.651 MB / 437.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.3979, allocations: 56.33 kB / 437.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009886/0.3989, allocations: 1.4 MB / 438.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.3993, allocations: 460.3 kB / 439.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.3994, allocations: 36 kB / 439.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3995, allocations: 365.9 kB / 439.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4007, allocations: 0.6793 MB / 440.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4021, allocations: 1.123 MB / 441.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.4035, allocations: 0.8866 MB / 442.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.4035, allocations: 4 kB / 442.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.003862/0.4074, allocations: 2.381 MB / 444.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4074, allocations: 15.94 kB / 444.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.4074, allocations: 16.28 kB / 444.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.4081, allocations: 271.2 kB / 445.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.4095, allocations: 375.4 kB / 445.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.415, allocations: 5.778 MB / 451.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.4167, allocations: 87.92 kB / 451.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.4169, allocations: 64 kB / 451.4 MB, free: 12.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002292/0.4192, allocations: 1.012 MB / 452.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/0.4197, allocations: 181.8 kB / 452.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.4242, allocations: 2.233 MB / 454.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.4243, allocations: 16 kB / 454.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/0.4243, allocations: 7.953 kB / 454.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.4243, allocations: 7.969 kB / 454.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4349, allocations: 5.052 MB / 459.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.435, allocations: 7.984 kB / 459.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/0.4358, allocations: 191.9 kB / 460.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.437, allocations: 444.3 kB / 460.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.4371, allocations: 43.98 kB / 460.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009891/0.447, allocations: 10.19 MB / 470.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4471, allocations: 8.219 kB / 470.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.4526, allocations: 3.313 MB / 474.1 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.4539, allocations: 414.3 kB / 474.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/0.4545, allocations: 39.98 kB / 474.5 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.4559, allocations: 71.95 kB / 474.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.4562, allocations: 109 kB / 474.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.4563, allocations: 39.98 kB / 474.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002539/0.4588, allocations: 1.135 MB / 475.9 MB, free: 3.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4588, allocations: 0 / 475.9 MB, free: 3.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003282/0.4621, allocations: 0.5469 MB / 476.4 MB, free: 2.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004548/0.4626, allocations: 189.2 kB / 476.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.4664, allocations: 2.157 MB / 478.7 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4665, allocations: 4.062 kB / 478.7 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.469, allocations: 1.594 MB / 480.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.4716, allocations: 490.7 kB / 480.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.4846, allocations: 6.717 MB / 487.5 MB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/0.4875, allocations: 2.356 MB / 489.9 MB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.4893, allocations: 396 kB / 490.3 MB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.4897, allocations: 123.4 kB / 490.4 MB, free: 4.414 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4898, allocations: 0 / 490.4 MB, free: 4.414 MB / 398.1 MB Notification: Performance of Templates: time 0.04915/0.5389, allocations: 25.68 MB / 0.504 GB, free: 11.04 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches