Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_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.001681/0.001681, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001463, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001929, allocations: 67.33 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09749, allocations: 50.54 MB / 358.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01612/0.1136, allocations: 13.44 MB / 371.9 MB, free: 416 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1497/0.2634, allocations: 4.503 MB / 376.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.2649, allocations: 83.39 kB / 376.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.2673, allocations: 0.9836 MB / 377.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.2704, allocations: 1.239 MB / 378.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.2722, allocations: 0.8923 MB / 379.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004179/0.2764, allocations: 3.909 MB / 383.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003428/0.2799, allocations: 3.221 MB / 386.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.2827, allocations: 1.844 MB / 388.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.2861, allocations: 2.179 MB / 390.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008737/0.287, allocations: 0.4994 MB / 391.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.2889, allocations: 0.7303 MB / 392 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008606/0.2897, allocations: 1.106 MB / 393.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.2921, allocations: 2.084 MB / 395.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006398/0.2985, allocations: 6.591 MB / 401.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2986, allocations: 3.938 kB / 401.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2986, allocations: 3.938 kB / 401.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.2987, allocations: 0 / 401.8 MB, free: 13.39 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.01115/0.3099, allocations: 4.339 MB / 406.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3099, allocations: 12.03 kB / 406.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.3142, allocations: 0.7995 MB / 406.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.3186, allocations: 2.337 MB / 409.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.3189, allocations: 241.9 kB / 409.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005434/0.3194, allocations: 315.8 kB / 409.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007597/0.327, allocations: 4.222 MB / 414 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.3271, allocations: 7.938 kB / 414 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003201/0.3274, allocations: 124 kB / 414.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.3276, allocations: 154.3 kB / 414.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.3343, allocations: 3.613 MB / 417.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/0.3563, allocations: 13.27 MB / 431.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007863/0.3642, allocations: 7.164 MB / 438.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/0.3675, allocations: 1.579 MB / 439.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007479/0.375, allocations: 4.207 MB / 444.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.3751, allocations: 47.56 kB / 444.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.256e-06/0.3751, allocations: 0 / 444.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01203/0.3872, allocations: 5.558 MB / 449.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.3872, allocations: 64.41 kB / 449.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.39, allocations: 1.719 MB / 451.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.3901, allocations: 49.7 kB / 451.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.3913, allocations: 1.416 MB / 453 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.3917, allocations: 428.3 kB / 453.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/0.3922, allocations: 287.3 kB / 453.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3923, allocations: 301.1 kB / 454 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3935, allocations: 0.652 MB / 454.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.3952, allocations: 1.129 MB / 455.8 MB, free: 6.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/0.3981, allocations: 1.894 MB / 457.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.3981, allocations: 4 kB / 457.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004477/0.4026, allocations: 2.409 MB / 460.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4026, allocations: 12 kB / 460.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.4027, allocations: 15.94 kB / 460.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009002/0.4036, allocations: 323.4 kB / 460.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4049, allocations: 351.5 kB / 460.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/0.4124, allocations: 6.63 MB / 467.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.414, allocations: 79.8 kB / 467.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.4142, allocations: 67.98 kB / 467.5 MB, free: 10.29 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.002107/0.4163, allocations: 1.005 MB / 468.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.4168, allocations: 181.8 kB / 468.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.4215, allocations: 2.21 MB / 470.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4215, allocations: 15.98 kB / 470.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/0.4215, allocations: 8 kB / 470.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.4215, allocations: 3.984 kB / 470.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009724/0.4313, allocations: 4.946 MB / 475.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.4313, allocations: 8 kB / 475.9 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.4321, allocations: 171.8 kB / 476.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.4335, allocations: 499.9 kB / 476.6 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4337, allocations: 39.92 kB / 476.6 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.4462, allocations: 11.46 MB / 488.1 MB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.4463, allocations: 8.062 kB / 488.1 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/0.4519, allocations: 3.092 MB / 491.2 MB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.453, allocations: 410.7 kB / 491.6 MB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.4534, allocations: 35.98 kB / 491.6 MB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.4546, allocations: 71.89 kB / 491.7 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.4549, allocations: 96.73 kB / 491.8 MB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/0.455, allocations: 39.98 kB / 491.8 MB, free: 1.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002212/0.4572, allocations: 1.178 MB / 493 MB, free: 15.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4572, allocations: 4 kB / 493 MB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002378/0.4596, allocations: 0.5548 MB / 493.5 MB, free: 15.29 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.0004004/0.46, allocations: 178.1 kB / 493.7 MB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005032/0.465, allocations: 2.451 MB / 496.2 MB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.4651, allocations: 0 / 496.2 MB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.4677, allocations: 1.553 MB / 497.7 MB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.4705, allocations: 0.5116 MB / 498.2 MB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.4815, allocations: 5.546 MB / 0.492 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/0.4842, allocations: 2.232 MB / 0.4941 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.4847, allocations: 135.4 kB / 0.4943 GB, free: 2.496 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4848, allocations: 4 kB / 0.4943 GB, free: 2.492 MB / 414.1 MB Notification: Performance of Templates: time 0.2441/0.7288, allocations: 109.7 MB / 0.6014 GB, free: 87.99 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches