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.001141/0.001141, allocations: 111.5 kB / 17.69 MB, free: 5.422 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.001257/0.001257, allocations: 192 kB / 18.63 MB, free: 4.492 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.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009728/0.0009728, allocations: 47.14 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09139, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01328/0.1047, allocations: 12.81 MB / 364.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007178/0.1119, allocations: 4.251 MB / 368.6 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1132, allocations: 79.69 kB / 368.7 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.1152, allocations: 0.9668 MB / 369.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.1182, allocations: 1.28 MB / 370.9 MB, free: 212 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1654/0.2836, allocations: 0.8253 MB / 371.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0067/0.2903, allocations: 3.883 MB / 375.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/0.2943, allocations: 3.226 MB / 378.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.2973, allocations: 1.835 MB / 380.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.3004, allocations: 2.058 MB / 382.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007277/0.3011, allocations: 0.4979 MB / 383.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.3027, allocations: 0.7003 MB / 383.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000875/0.3036, allocations: 1.11 MB / 385.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.3059, allocations: 2.064 MB / 387.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.3111, allocations: 6.597 MB / 393.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3111, allocations: 0 / 393.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3111, allocations: 0 / 393.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3112, allocations: 1.375 kB / 393.7 MB, free: 4.281 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.009499/0.3207, allocations: 4.311 MB / 398 MB, free: 1.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3208, allocations: 13.39 kB / 398 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.3247, allocations: 0.7972 MB / 398.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.3293, allocations: 2.389 MB / 401.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.3295, allocations: 233.6 kB / 401.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.33, allocations: 312.2 kB / 401.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007973/0.338, allocations: 4.236 MB / 406 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.325e-05/0.3381, allocations: 0 / 406 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.3384, allocations: 131.1 kB / 406.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.3386, allocations: 154.3 kB / 406.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006489/0.3451, allocations: 3.607 MB / 409.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.3666, allocations: 13 MB / 422.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.3732, allocations: 6.894 MB / 429.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.3755, allocations: 1.367 MB / 431.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006538/0.3821, allocations: 3.73 MB / 434.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3822, allocations: 47.55 kB / 434.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.787e-06/0.3822, allocations: 4 kB / 434.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01143/0.3936, allocations: 5.388 MB / 440.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3937, allocations: 64.41 kB / 440.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.3963, allocations: 1.698 MB / 442.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.3964, allocations: 49.7 kB / 442.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009578/0.3974, allocations: 1.404 MB / 443.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/0.3978, allocations: 436.3 kB / 444 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004441/0.3982, allocations: 279.3 kB / 444.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.3983, allocations: 308.4 kB / 444.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.3994, allocations: 0.6403 MB / 445.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.4008, allocations: 1.119 MB / 446.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.4033, allocations: 1.867 MB / 448.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.4033, allocations: 7.938 kB / 448.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003852/0.4071, allocations: 2.324 MB / 450.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4072, allocations: 15.98 kB / 450.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.4072, allocations: 16 kB / 450.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.4079, allocations: 271 kB / 450.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4092, allocations: 355.4 kB / 451.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006939/0.4162, allocations: 6.192 MB / 457.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.419, allocations: 75.86 kB / 457.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.4192, allocations: 71.92 kB / 457.5 MB, free: 5.254 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.002671/0.4219, allocations: 0.9931 MB / 458.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004958/0.4224, allocations: 185.8 kB / 458.6 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.4261, allocations: 2.134 MB / 460.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.4261, allocations: 16 kB / 460.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4261, allocations: 4 kB / 460.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4262, allocations: 3.984 kB / 460.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/0.4341, allocations: 4.825 MB / 465.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4341, allocations: 4 kB / 465.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.4349, allocations: 167.8 kB / 465.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.436, allocations: 456 kB / 466.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/0.4361, allocations: 39.98 kB / 466.3 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4464, allocations: 11.03 MB / 477.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4465, allocations: 4.031 kB / 477.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004955/0.4514, allocations: 3.002 MB / 480.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.4525, allocations: 414.6 kB / 480.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.4527, allocations: 39.98 kB / 480.7 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/0.4535, allocations: 59.95 kB / 480.8 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.4538, allocations: 96.73 kB / 480.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.4539, allocations: 47.98 kB / 480.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.4556, allocations: 1.17 MB / 482.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4556, allocations: 0 / 482.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002006/0.4576, allocations: 0.5392 MB / 482.7 MB, free: 11.07 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.0002908/0.4579, allocations: 155.4 kB / 482.8 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.461, allocations: 2.081 MB / 484.9 MB, free: 8.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.461, allocations: 4 kB / 484.9 MB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.4632, allocations: 1.526 MB / 486.4 MB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.4652, allocations: 0.5078 MB / 486.9 MB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0085/0.4737, allocations: 5.453 MB / 492.4 MB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.4757, allocations: 2.285 MB / 494.7 MB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.477, allocations: 383.7 kB / 495 MB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4773, allocations: 123.4 kB / 495.2 MB, free: 14.37 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4773, allocations: 0 / 495.2 MB, free: 14.37 MB / 414.1 MB Notification: Performance of Templates: time 0.04695/0.5243, allocations: 27.49 MB / 0.5104 GB, free: 3.25 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 cvode -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