Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_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.001291/0.001291, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.08 kB / 306.9 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 50.54 MB / 357.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01433/0.1197, allocations: 13.28 MB / 370.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1781/0.2978, allocations: 4.458 MB / 375.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.2999, allocations: 80.22 kB / 375.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.3025, allocations: 0.8686 MB / 376.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.3066, allocations: 1.129 MB / 377.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.3088, allocations: 0.8226 MB / 378.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005795/0.3146, allocations: 4.25 MB / 382.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.318, allocations: 2.696 MB / 385 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.3212, allocations: 1.467 MB / 386.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/0.3249, allocations: 1.903 MB / 388.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000866/0.3258, allocations: 292.5 kB / 388.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.328, allocations: 0.5121 MB / 389.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008729/0.3289, allocations: 0.8786 MB / 390.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.3315, allocations: 1.849 MB / 391.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.3361, allocations: 5.602 MB / 397.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3361, allocations: 0 / 397.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3361, allocations: 0 / 397.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.3363, allocations: 4.969 kB / 397.5 MB, free: 15.52 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.01146/0.3477, allocations: 4.323 MB / 401.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3478, allocations: 10.34 kB / 401.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.3522, allocations: 0.8039 MB / 402.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.3566, allocations: 2.29 MB / 405 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.3567, allocations: 237.2 kB / 405.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005306/0.3573, allocations: 315.8 kB / 405.5 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007335/0.3646, allocations: 4.221 MB / 409.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/0.3647, allocations: 3.938 kB / 409.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.365, allocations: 138.3 kB / 409.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.3652, allocations: 146.3 kB / 410 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006302/0.3715, allocations: 3.609 MB / 413.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.3914, allocations: 13.28 MB / 426.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00647/0.3979, allocations: 7.16 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/0.4007, allocations: 1.586 MB / 435.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007186/0.4079, allocations: 4.21 MB / 439.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.408, allocations: 43.56 kB / 439.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.096e-06/0.408, allocations: 0 / 439.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01095/0.4189, allocations: 5.554 MB / 445.5 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.419, allocations: 68.41 kB / 445.5 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.4214, allocations: 1.711 MB / 447.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/0.4215, allocations: 49.7 kB / 447.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/0.4225, allocations: 1.421 MB / 448.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.4229, allocations: 430.6 kB / 449.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.4233, allocations: 287.3 kB / 449.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.4234, allocations: 301.1 kB / 449.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4245, allocations: 0.6636 MB / 450.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4259, allocations: 1.121 MB / 451.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.4285, allocations: 1.898 MB / 453.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.4285, allocations: 4 kB / 453.4 MB, free: 8.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003957/0.4325, allocations: 2.409 MB / 455.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4326, allocations: 8 kB / 455.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.4326, allocations: 19.94 kB / 455.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008043/0.4334, allocations: 319.4 kB / 456.1 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4347, allocations: 347.5 kB / 456.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.4406, allocations: 6.114 MB / 462.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4421, allocations: 71.86 kB / 462.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.4423, allocations: 68.19 kB / 462.7 MB, free: 14.23 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.001838/0.4441, allocations: 1.005 MB / 463.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.4444, allocations: 181.8 kB / 463.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.4484, allocations: 2.229 MB / 466.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4484, allocations: 12 kB / 466.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4484, allocations: 8 kB / 466.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4485, allocations: 7.969 kB / 466.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/0.4563, allocations: 4.943 MB / 471.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4563, allocations: 0 / 471.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.4571, allocations: 171.8 kB / 471.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.4584, allocations: 496 kB / 471.8 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-05/0.4585, allocations: 35.98 kB / 471.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.469, allocations: 10.52 MB / 482.3 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4691, allocations: 0 / 482.3 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/0.4742, allocations: 3.096 MB / 485.4 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/0.4752, allocations: 410.7 kB / 485.8 MB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.4755, allocations: 28 kB / 485.8 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.4764, allocations: 67.94 kB / 485.9 MB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.4766, allocations: 108.7 kB / 486 MB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.4767, allocations: 35.98 kB / 486 MB, free: 5.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.4784, allocations: 1.186 MB / 487.2 MB, free: 4.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4784, allocations: 0 / 487.2 MB, free: 4.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002038/0.4805, allocations: 0.5509 MB / 487.8 MB, free: 4.211 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 (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.0003323/0.4808, allocations: 165.8 kB / 487.9 MB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003363/0.4842, allocations: 2.13 MB / 490.1 MB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4842, allocations: 1.938 kB / 490.1 MB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.4865, allocations: 1.553 MB / 491.6 MB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.4887, allocations: 0.4895 MB / 492.1 MB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.4993, allocations: 6.845 MB / 499 MB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/0.5012, allocations: 2.247 MB / 0.4895 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.5017, allocations: 135.4 kB / 0.4896 GB, free: 6.453 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5018, allocations: 0 / 0.4896 GB, free: 6.453 MB / 414.1 MB Notification: Performance of Templates: time 0.2439/0.7457, allocations: 109.7 MB / 0.5967 GB, free: 91.04 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches