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.00166/0.00166, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001818, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.75 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1012, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2064/0.3077, allocations: 13.43 MB / 372.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3188, allocations: 4.511 MB / 376.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.3223, allocations: 80.44 kB / 376.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.3256, allocations: 0.9946 MB / 377.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.3313, allocations: 1.241 MB / 379.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3339, allocations: 0.8952 MB / 380.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005406/0.3393, allocations: 3.925 MB / 384 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.3437, allocations: 3.228 MB / 387.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.3474, allocations: 1.843 MB / 389.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.3512, allocations: 2.185 MB / 391.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009663/0.3522, allocations: 0.4992 MB / 391.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.354, allocations: 0.7217 MB / 392.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.3549, allocations: 1.107 MB / 393.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.3572, allocations: 2.082 MB / 395.7 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008607/0.3658, allocations: 6.631 MB / 402.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3659, allocations: 4 kB / 402.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.3659, allocations: 0 / 402.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001803/0.3661, allocations: 6.469 kB / 402.3 MB, free: 13.62 MB / 318.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.01778/0.3839, allocations: 4.333 MB / 406.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.384, allocations: 12.03 kB / 406.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007346/0.3913, allocations: 0.802 MB / 407.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/0.3976, allocations: 2.402 MB / 409.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.3978, allocations: 232.7 kB / 410.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.3984, allocations: 314.9 kB / 410.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009872/0.4083, allocations: 4.231 MB / 414.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-05/0.4084, allocations: 0 / 414.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.4089, allocations: 135.1 kB / 414.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.4091, allocations: 150.3 kB / 414.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009392/0.4185, allocations: 3.609 MB / 418.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.4412, allocations: 13.1 MB / 431.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006829/0.4481, allocations: 7.17 MB / 438.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.4507, allocations: 1.584 MB / 440.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006393/0.4571, allocations: 4.185 MB / 444.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4572, allocations: 51.56 kB / 444.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.885e-06/0.4572, allocations: 0 / 444.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.0111/0.4683, allocations: 5.552 MB / 450.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.4684, allocations: 64.41 kB / 450.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/0.4718, allocations: 1.715 MB / 451.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.4721, allocations: 53.7 kB / 452 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.4732, allocations: 1.412 MB / 453.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.4736, allocations: 432.3 kB / 453.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/0.4741, allocations: 287.3 kB / 454.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4742, allocations: 301.1 kB / 454.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.4753, allocations: 0.6559 MB / 455 MB, free: 8.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.4767, allocations: 1.129 MB / 456.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.4792, allocations: 1.898 MB / 458.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4792, allocations: 4 kB / 458.1 MB, free: 4.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00388/0.4831, allocations: 2.401 MB / 460.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4832, allocations: 15.94 kB / 460.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.4832, allocations: 16 kB / 460.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000829/0.484, allocations: 315.4 kB / 460.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4853, allocations: 347.5 kB / 461.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006006/0.4913, allocations: 6.617 MB / 467.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4928, allocations: 83.92 kB / 467.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4929, allocations: 68 kB / 467.9 MB, free: 10.51 MB / 382.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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001692/0.4946, allocations: 1.001 MB / 468.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.4949, allocations: 181.8 kB / 469.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.4987, allocations: 2.213 MB / 471.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4987, allocations: 12 kB / 471.3 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4987, allocations: 11.94 kB / 471.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4987, allocations: 7.969 kB / 471.3 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.5067, allocations: 4.944 MB / 476.3 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5068, allocations: 4 kB / 476.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/0.5075, allocations: 167.7 kB / 476.5 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.5088, allocations: 0.4952 MB / 476.9 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.5089, allocations: 35.98 kB / 477 MB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.5195, allocations: 11.46 MB / 488.4 MB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.5196, allocations: 8.016 kB / 488.4 MB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.5244, allocations: 3.1 MB / 491.5 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009153/0.5254, allocations: 410.7 kB / 491.9 MB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.5256, allocations: 28 kB / 492 MB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.5264, allocations: 67.94 kB / 492 MB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.5267, allocations: 100.8 kB / 492.1 MB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/0.5268, allocations: 35.98 kB / 492.2 MB, free: 1.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.5285, allocations: 1.182 MB / 493.4 MB, free: 80 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5285, allocations: 0 / 493.4 MB, free: 80 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001883/0.5304, allocations: 0.5431 MB / 493.9 MB, free: 15.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003044/0.5307, allocations: 166.9 kB / 494.1 MB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.5338, allocations: 2.135 MB / 496.2 MB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5339, allocations: 4 kB / 496.2 MB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.536, allocations: 1.556 MB / 497.8 MB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.538, allocations: 0.52 MB / 498.3 MB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008779/0.5468, allocations: 5.489 MB / 0.492 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.5488, allocations: 2.293 MB / 0.4942 GB, free: 3.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.5501, allocations: 383.9 kB / 0.4946 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.5504, allocations: 119.4 kB / 0.4947 GB, free: 2.688 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5505, allocations: 0 / 0.4947 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Templates: time 0.0473/0.5978, allocations: 28.02 MB / 0.522 GB, free: 6.996 MB / 446.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches