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.0007735/0.0007734, allocations: 92.2 kB / 17.31 MB, free: 6.023 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.0008289/0.0008289, allocations: 175.8 kB / 18.21 MB, free: 5.414 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.125/1.125, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002091, allocations: 8 kB / 302.1 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07004/0.07026, allocations: 50.41 MB / 352.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01029/0.08059, allocations: 12.04 MB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005995/0.08661, allocations: 4.147 MB / 368.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.08809, allocations: 71.75 kB / 368.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.09016, allocations: 0.8513 MB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.09313, allocations: 1.15 MB / 370.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.09477, allocations: 0.7748 MB / 371.5 MB, free: 328 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1396/0.2344, allocations: 4.131 MB / 375.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.238, allocations: 2.657 MB / 378.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.24, allocations: 1.275 MB / 379.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.2427, allocations: 1.649 MB / 381.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007994/0.2435, allocations: 206.1 kB / 381.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.2449, allocations: 417 kB / 381.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005928/0.2455, allocations: 0.7445 MB / 382.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.2469, allocations: 1.709 MB / 384.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.2505, allocations: 5.407 MB / 389.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2505, allocations: 0 / 389.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2505, allocations: 0 / 389.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.97e-05/0.2506, allocations: 1.188 kB / 389.7 MB, free: 6.672 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.00689/0.2575, allocations: 3.655 MB / 393.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2575, allocations: 13.06 kB / 393.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.261, allocations: 0.8051 MB / 394.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.2637, allocations: 2.276 MB / 396.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2638, allocations: 240 kB / 396.7 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.2641, allocations: 313 kB / 397 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/0.2694, allocations: 4.239 MB / 401.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.2695, allocations: 8 kB / 401.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.2698, allocations: 120 kB / 401.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.2699, allocations: 154.3 kB / 401.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005105/0.275, allocations: 3.627 MB / 405.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.2901, allocations: 13.25 MB / 418.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/0.2957, allocations: 6.91 MB / 425.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.2977, allocations: 1.386 MB / 426.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004722/0.3024, allocations: 3.751 MB / 430.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3024, allocations: 43.56 kB / 430.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=120): time 2.525e-06/0.3025, allocations: 0 / 430.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.00864/0.3111, allocations: 5.456 MB / 436 MB, free: 11.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.3111, allocations: 64.41 kB / 436 MB, free: 11.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3131, allocations: 1.705 MB / 437.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.3132, allocations: 49.7 kB / 437.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.3139, allocations: 1.401 MB / 439.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.3142, allocations: 439.7 kB / 439.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.3144, allocations: 129.6 kB / 439.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.3144, allocations: 301.1 kB / 440 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009542/0.3154, allocations: 0.652 MB / 440.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3166, allocations: 1.123 MB / 441.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.3188, allocations: 1.893 MB / 443.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3188, allocations: 4 kB / 443.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00317/0.322, allocations: 2.342 MB / 446 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.322, allocations: 12 kB / 446 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3221, allocations: 16 kB / 446.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.3226, allocations: 267.4 kB / 446.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3238, allocations: 359.4 kB / 446.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.3282, allocations: 5.708 MB / 452.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.329, allocations: 71.97 kB / 452.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.3291, allocations: 67.98 kB / 452.5 MB, free: 10.19 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.001283/0.3304, allocations: 1.005 MB / 453.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.3306, allocations: 177.8 kB / 453.7 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.3339, allocations: 2.154 MB / 455.9 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.3339, allocations: 12 kB / 455.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3339, allocations: 8 kB / 455.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3339, allocations: 3.984 kB / 455.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/0.3399, allocations: 4.839 MB / 460.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.3399, allocations: 4 kB / 460.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.3406, allocations: 175.8 kB / 460.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/0.3416, allocations: 452.2 kB / 461.3 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.3416, allocations: 35.98 kB / 461.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008021/0.3497, allocations: 10.1 MB / 471.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3497, allocations: 8.125 kB / 471.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.3536, allocations: 3.036 MB / 474.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/0.3541, allocations: 398.8 kB / 474.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.3543, allocations: 35.98 kB / 474.9 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.3551, allocations: 71.95 kB / 475 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.3553, allocations: 96.73 kB / 475.1 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.3554, allocations: 39.98 kB / 475.1 MB, free: 2.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.3567, allocations: 1.17 MB / 476.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3567, allocations: 0 / 476.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001527/0.3582, allocations: 0.5391 MB / 476.8 MB, free: 0.8906 MB / 382.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.0002475/0.3585, allocations: 167.1 kB / 477 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.3611, allocations: 2.1 MB / 479.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3611, allocations: 1 kB / 479.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.363, allocations: 1.53 MB / 480.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.3651, allocations: 492.3 kB / 481.1 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00866/0.3738, allocations: 6.949 MB / 488.1 MB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/0.3759, allocations: 2.224 MB / 490.3 MB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.3764, allocations: 135.4 kB / 490.4 MB, free: 3.105 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3764, allocations: 0 / 490.4 MB, free: 3.105 MB / 398.1 MB Notification: Performance of Templates: time 0.2169/0.5933, allocations: 108.5 MB / 0.5849 GB, free: 110.6 MB / 446.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/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