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.001077/0.001078, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.00103/0.00103, allocations: 192 kB / 18.63 MB, free: 4.375 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009951/0.0009951, allocations: 47.3 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08611, allocations: 49.44 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01304/0.09918, allocations: 12.82 MB / 364.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.1064, allocations: 4.251 MB / 368.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.1077, allocations: 71.75 kB / 368.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.11, allocations: 0.9746 MB / 369.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.1134, allocations: 1.276 MB / 370.9 MB, free: 240 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1675/0.2809, allocations: 0.8287 MB / 371.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.2859, allocations: 3.888 MB / 375.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003541/0.2894, allocations: 3.228 MB / 378.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.2922, allocations: 1.826 MB / 380.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.2949, allocations: 2.07 MB / 382.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008469/0.2958, allocations: 0.4979 MB / 383.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.2974, allocations: 0.7006 MB / 383.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009497/0.2984, allocations: 1.101 MB / 385 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.3007, allocations: 2.073 MB / 387.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.3066, allocations: 6.592 MB / 393.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3067, allocations: 0 / 393.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3067, allocations: 4 kB / 393.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001211/0.3068, allocations: 0 / 393.7 MB, free: 4.344 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.01166/0.3185, allocations: 4.304 MB / 398 MB, free: 1.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3185, allocations: 10.22 kB / 398 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.3225, allocations: 0.8041 MB / 398.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.3265, allocations: 2.375 MB / 401.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.3267, allocations: 243.8 kB / 401.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.3272, allocations: 317.9 kB / 401.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006995/0.3342, allocations: 4.221 MB / 406 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/0.3343, allocations: 4 kB / 406 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/0.3345, allocations: 126.8 kB / 406.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.3347, allocations: 161.8 kB / 406.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005976/0.3407, allocations: 3.604 MB / 409.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.3594, allocations: 13.01 MB / 422.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/0.3659, allocations: 6.908 MB / 429.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.3681, allocations: 1.359 MB / 431.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.3747, allocations: 3.722 MB / 434.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3748, allocations: 43.56 kB / 434.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.648e-06/0.3748, allocations: 0 / 434.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01024/0.3851, allocations: 5.399 MB / 440.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3851, allocations: 64.41 kB / 440.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.3875, allocations: 1.705 MB / 442.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.3876, allocations: 48.8 kB / 442.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009777/0.3886, allocations: 1.401 MB / 443.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.3889, allocations: 428 kB / 443.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/0.3893, allocations: 283.3 kB / 444.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3895, allocations: 301.1 kB / 444.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.3906, allocations: 0.6481 MB / 445.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.3921, allocations: 1.115 MB / 446.3 MB, free: 1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.3952, allocations: 1.876 MB / 448.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3952, allocations: 8 kB / 448.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004015/0.3992, allocations: 2.327 MB / 450.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3992, allocations: 12.28 kB / 450.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.3993, allocations: 16 kB / 450.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.4, allocations: 259.3 kB / 450.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.4013, allocations: 359.4 kB / 451.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/0.4073, allocations: 6.202 MB / 457.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4087, allocations: 67.88 kB / 457.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.4089, allocations: 75.98 kB / 457.5 MB, free: 5.297 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 (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.001951/0.4108, allocations: 0.9932 MB / 458.5 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.4112, allocations: 181.8 kB / 458.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.415, allocations: 2.138 MB / 460.8 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.415, allocations: 12 kB / 460.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4151, allocations: 8 kB / 460.8 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4151, allocations: 3.984 kB / 460.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.4232, allocations: 4.826 MB / 465.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4232, allocations: 0 / 465.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.424, allocations: 172 kB / 465.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.4252, allocations: 450.2 kB / 466.2 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/0.4253, allocations: 39.92 kB / 466.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.4363, allocations: 11.04 MB / 477.3 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4363, allocations: 0 / 477.3 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/0.4415, allocations: 3.005 MB / 480.3 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.4427, allocations: 406.7 kB / 480.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.443, allocations: 31.98 kB / 480.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.4438, allocations: 59.95 kB / 480.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.4441, allocations: 108.7 kB / 480.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.4442, allocations: 35.98 kB / 480.9 MB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.4461, allocations: 1.17 MB / 482.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4461, allocations: 0 / 482.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002108/0.4482, allocations: 0.5431 MB / 482.6 MB, free: 11.12 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 (86): * Single equations (assignments): 81 * 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,5,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.0003243/0.4485, allocations: 162.9 kB / 482.8 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.4518, allocations: 2.078 MB / 484.9 MB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4518, allocations: 64 / 484.9 MB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.4541, allocations: 1.529 MB / 486.4 MB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4563, allocations: 0.4987 MB / 486.9 MB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/0.4652, allocations: 5.469 MB / 492.4 MB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.4672, allocations: 2.273 MB / 494.7 MB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001198/0.4684, allocations: 387.7 kB / 495 MB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.4687, allocations: 127.4 kB / 495.2 MB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4687, allocations: 3.938 kB / 495.2 MB, free: 14.41 MB / 414.1 MB Notification: Performance of Templates: time 0.04583/0.5145, allocations: 27.51 MB / 0.5104 GB, free: 3.273 MB / 430.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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches