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.0009284/0.0009284, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 246.4 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001984/0.0001984, allocations: 8 kB / 307.1 MB, free: 1.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08593, allocations: 51.51 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01152/0.09749, allocations: 11.82 MB / 370.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/0.2602, allocations: 4.122 MB / 374.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.2617, allocations: 76.09 kB / 374.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.2637, allocations: 0.7432 MB / 375.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.2667, allocations: 1.025 MB / 376.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.2683, allocations: 0.616 MB / 377 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004742/0.273, allocations: 3.963 MB / 381 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.2758, allocations: 2.22 MB / 383.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.2781, allocations: 1.245 MB / 384.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.2804, allocations: 1.594 MB / 386.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004115/0.2808, allocations: 201.4 kB / 386.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.2822, allocations: 409.5 kB / 386.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007136/0.283, allocations: 0.741 MB / 387.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.2838, allocations: 0.7243 MB / 388.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004317/0.2881, allocations: 5.434 MB / 393.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2881, allocations: 5.375 kB / 393.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2881, allocations: 0.7656 kB / 393.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.2883, allocations: 0 / 393.6 MB, free: 4.059 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.008523/0.2968, allocations: 3.715 MB / 397.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2968, allocations: 10.12 kB / 397.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.3011, allocations: 0.8074 MB / 398.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.3047, allocations: 2.241 MB / 400.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3049, allocations: 238.8 kB / 400.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/0.3053, allocations: 314 kB / 400.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008056/0.3134, allocations: 4.213 MB / 405.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.935e-05/0.3135, allocations: 7.906 kB / 405.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.3138, allocations: 122.1 kB / 405.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.314, allocations: 154.2 kB / 405.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00754/0.3215, allocations: 3.605 MB / 409 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.3414, allocations: 13.32 MB / 422.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/0.3486, allocations: 7.173 MB / 429.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/0.3514, allocations: 1.581 MB / 431.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006508/0.3579, allocations: 4.222 MB / 435.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.358, allocations: 51.56 kB / 435.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.605e-06/0.358, allocations: 0 / 435.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01035/0.3683, allocations: 5.645 MB / 441 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3684, allocations: 68.41 kB / 441 MB, free: 6.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.3707, allocations: 1.707 MB / 442.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.3708, allocations: 45.7 kB / 442.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009158/0.3717, allocations: 1.408 MB / 444.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.372, allocations: 436.5 kB / 444.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.3721, allocations: 28 kB / 444.6 MB, free: 3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3723, allocations: 375.8 kB / 445 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3733, allocations: 0.6637 MB / 445.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.3747, allocations: 1.121 MB / 446.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.376, allocations: 0.873 MB / 447.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.376, allocations: 4 kB / 447.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003697/0.3797, allocations: 2.409 MB / 450.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3797, allocations: 8 kB / 450.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.3797, allocations: 16 kB / 450.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.3805, allocations: 326.6 kB / 450.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.3817, allocations: 355.4 kB / 450.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.3872, allocations: 6.121 MB / 456.9 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3886, allocations: 79.86 kB / 457 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.3887, allocations: 64 kB / 457 MB, free: 5.957 MB / 366.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 (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%) 1,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001814/0.3905, allocations: 1.005 MB / 458 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.3908, allocations: 181.8 kB / 458.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.3945, allocations: 2.233 MB / 460.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3946, allocations: 15.98 kB / 460.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.3946, allocations: 8 kB / 460.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.3946, allocations: 7.969 kB / 460.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/0.4018, allocations: 4.946 MB / 465.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4019, allocations: 4 kB / 465.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.4026, allocations: 168 kB / 465.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.4038, allocations: 495.8 kB / 466.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/0.4039, allocations: 44.12 kB / 466.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009895/0.4138, allocations: 10.51 MB / 476.6 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4138, allocations: 8.266 kB / 476.6 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.419, allocations: 3.109 MB / 479.8 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.4201, allocations: 410.7 kB / 480.2 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4203, allocations: 32 kB / 480.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.4211, allocations: 79.88 kB / 480.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4214, allocations: 95.11 kB / 480.4 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.4215, allocations: 43.97 kB / 480.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.4235, allocations: 1.167 MB / 481.6 MB, free: 12.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.406e-06/0.4235, allocations: 0 / 481.6 MB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002638/0.4262, allocations: 0.5547 MB / 482.1 MB, free: 11.91 MB / 398.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 (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%) 8,(1,100.0%) 1,(1,100.0%) 8,(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.0003933/0.4266, allocations: 165.9 kB / 482.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003643/0.4302, allocations: 2.146 MB / 484.4 MB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.4302, allocations: 0 / 484.4 MB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.4325, allocations: 1.56 MB / 486 MB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.4351, allocations: 0.4995 MB / 486.5 MB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/0.4447, allocations: 6.661 MB / 493.2 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.4467, allocations: 2.297 MB / 495.4 MB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001398/0.4481, allocations: 379.9 kB / 495.8 MB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.4484, allocations: 119.4 kB / 495.9 MB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4484, allocations: 3.938 kB / 495.9 MB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.04608/0.4945, allocations: 26.15 MB / 0.5099 GB, free: 4.055 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","/var/lib/jenkins/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