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.001157/0.001157, allocations: 101.5 kB / 16.5 MB, free: 6.648 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.001196/0.001196, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000962/0.000962, allocations: 50.39 kB / 300 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09112, allocations: 49.44 MB / 349.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01333/0.1045, allocations: 12.69 MB / 362.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.1125, allocations: 4.205 MB / 366.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.1147, allocations: 71.69 kB / 366.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.1176, allocations: 0.8512 MB / 367.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.1215, allocations: 1.156 MB / 368.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.1236, allocations: 0.7833 MB / 369.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1562/0.2797, allocations: 4.134 MB / 373.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.2827, allocations: 2.693 MB / 376 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.285, allocations: 1.455 MB / 377.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.2871, allocations: 1.89 MB / 379.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004712/0.2876, allocations: 291.6 kB / 379.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.2887, allocations: 0.4913 MB / 380.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007108/0.2894, allocations: 0.8756 MB / 381 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.2912, allocations: 1.84 MB / 382.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004883/0.2961, allocations: 6.388 MB / 389.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2961, allocations: 0 / 389.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2961, allocations: 3.656 kB / 389.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.963e-05/0.2962, allocations: 3.281 kB / 389.2 MB, free: 5.688 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.009077/0.3053, allocations: 4.297 MB / 393.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3053, allocations: 9.625 kB / 393.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.3095, allocations: 0.8091 MB / 394.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.3127, allocations: 2.276 MB / 396.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3128, allocations: 234.5 kB / 396.8 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.3132, allocations: 309.2 kB / 397.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006658/0.3199, allocations: 4.237 MB / 401.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-05/0.32, allocations: 3.906 kB / 401.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.3203, allocations: 128 kB / 401.5 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.3204, allocations: 146.3 kB / 401.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.3264, allocations: 3.612 MB / 405.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.3449, allocations: 13.17 MB / 418.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.3512, allocations: 6.904 MB / 425.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.3533, allocations: 1.373 MB / 426.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005811/0.3592, allocations: 3.743 MB / 430.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3592, allocations: 54.84 kB / 430.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.405e-06/0.3592, allocations: 0 / 430.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01007/0.3693, allocations: 5.379 MB / 435.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3693, allocations: 64.41 kB / 435.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.3716, allocations: 1.713 MB / 437.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/0.3717, allocations: 45.7 kB / 437.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009176/0.3726, allocations: 1.399 MB / 439.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.3729, allocations: 432 kB / 439.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.3734, allocations: 283.3 kB / 439.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.3735, allocations: 305.1 kB / 440.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3746, allocations: 0.6442 MB / 440.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.376, allocations: 1.114 MB / 441.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.3785, allocations: 1.866 MB / 443.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3785, allocations: 4 kB / 443.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003623/0.3821, allocations: 2.332 MB / 446.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3822, allocations: 12 kB / 446.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.3822, allocations: 12 kB / 446.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/0.3829, allocations: 267.8 kB / 446.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3841, allocations: 357.3 kB / 446.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.3891, allocations: 5.695 MB / 452.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3903, allocations: 83.95 kB / 452.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3904, allocations: 68 kB / 452.5 MB, free: 8.84 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.001598/0.392, allocations: 0.9964 MB / 453.5 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.3922, allocations: 173.8 kB / 453.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/0.3958, allocations: 2.138 MB / 455.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.3959, allocations: 16 kB / 455.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3959, allocations: 4 kB / 455.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.3959, allocations: 7.969 kB / 455.9 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006857/0.4028, allocations: 4.819 MB / 460.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4028, allocations: 4 kB / 460.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.4035, allocations: 163.8 kB / 460.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.4046, allocations: 464.9 kB / 461.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.4047, allocations: 35.98 kB / 461.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009284/0.414, allocations: 10.09 MB / 471.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.414, allocations: 4.031 kB / 471.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.4186, allocations: 2.998 MB / 474.4 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/0.4193, allocations: 410.7 kB / 474.8 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.4196, allocations: 32.19 kB / 474.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008384/0.4204, allocations: 63.94 kB / 474.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.4206, allocations: 104.7 kB / 475 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.4207, allocations: 36 kB / 475.1 MB, free: 1.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.4223, allocations: 1.17 MB / 476.2 MB, free: 184 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4224, allocations: 0 / 476.2 MB, free: 184 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001869/0.4242, allocations: 0.5392 MB / 476.8 MB, free: 15.64 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.0002747/0.4245, allocations: 166.4 kB / 476.9 MB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002996/0.4275, allocations: 2.078 MB / 479 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4275, allocations: 4 kB / 479 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.4297, allocations: 1.522 MB / 480.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.4317, allocations: 487.5 kB / 481 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/0.441, allocations: 6.822 MB / 487.8 MB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.4429, allocations: 2.293 MB / 490.1 MB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001394/0.4443, allocations: 383.7 kB / 490.5 MB, free: 1.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.4446, allocations: 119.4 kB / 490.6 MB, free: 1.598 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4446, allocations: 0 / 490.6 MB, free: 1.598 MB / 398.1 MB Notification: Performance of Templates: time 0.04719/0.4918, allocations: 26.48 MB / 0.505 GB, free: 7.434 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 -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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches