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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009046/0.0009048, allocations: 88.8 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.394e-05, allocations: 3.984 kB / 350.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09184, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.3997, allocations: 109.9 MB / 0.5 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4, allocations: 98.97 kB / 0.5001 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4131/0.8131, allocations: 82.95 MB / 0.5811 GB, free: 74.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8132, allocations: 0 / 0.5811 GB, free: 74.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.8134, allocations: 72.97 kB / 0.5811 GB, free: 74.1 MB / 442.7 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.008731/0.8222, allocations: 3.196 MB / 0.5842 GB, free: 73.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.8222, allocations: 8.844 kB / 0.5843 GB, free: 73.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/0.8265, allocations: 0.7252 MB / 0.585 GB, free: 72.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007979/0.8345, allocations: 3.314 MB / 0.5882 GB, free: 72.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.8347, allocations: 243.3 kB / 0.5884 GB, free: 72.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006502/0.8354, allocations: 310.9 kB / 0.5887 GB, free: 72.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.8425, allocations: 4.044 MB / 0.5927 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/0.8426, allocations: 7.422 kB / 0.5927 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.8429, allocations: 132.8 kB / 0.5928 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.843, allocations: 150.9 kB / 0.593 GB, free: 71.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005837/0.8488, allocations: 3.282 MB / 0.5962 GB, free: 71.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.8698, allocations: 13.31 MB / 0.6092 GB, free: 69.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005763/0.8756, allocations: 7.071 MB / 0.6161 GB, free: 63.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.8787, allocations: 1.675 MB / 0.6177 GB, free: 63.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00663/0.8854, allocations: 4.196 MB / 0.6218 GB, free: 62.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.8854, allocations: 49.22 kB / 0.6218 GB, free: 62.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 2.605e-06/0.8854, allocations: 0 / 0.6218 GB, free: 62.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.006784/0.8922, allocations: 3.94 MB / 0.6257 GB, free: 60.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.8923, allocations: 64.78 kB / 0.6258 GB, free: 60.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.8947, allocations: 1.484 MB / 0.6272 GB, free: 59.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.8948, allocations: 45.83 kB / 0.6272 GB, free: 59.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/0.8955, allocations: 1.418 MB / 0.6286 GB, free: 58.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.8958, allocations: 427.3 kB / 0.629 GB, free: 58.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.8959, allocations: 30.03 kB / 0.6291 GB, free: 58.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.896, allocations: 368.2 kB / 0.6294 GB, free: 58.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.897, allocations: 0.6073 MB / 0.63 GB, free: 57.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.8981, allocations: 1.065 MB / 0.631 GB, free: 57.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.8993, allocations: 0.821 MB / 0.6319 GB, free: 56.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.8993, allocations: 5.812 kB / 0.6319 GB, free: 56.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003731/0.9031, allocations: 2.293 MB / 0.6341 GB, free: 55.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.9031, allocations: 12.41 kB / 0.6341 GB, free: 55.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.9031, allocations: 14.75 kB / 0.6341 GB, free: 55.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000765/0.9039, allocations: 317.1 kB / 0.6344 GB, free: 55.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.9052, allocations: 351.2 kB / 0.6348 GB, free: 55.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.9099, allocations: 6.098 MB / 0.6407 GB, free: 50.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.9114, allocations: 81.81 kB / 0.6408 GB, free: 50.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.9116, allocations: 66.59 kB / 0.6409 GB, free: 50.57 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.9118, allocations: 195.3 kB / 0.641 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.9121, allocations: 188.4 kB / 0.6412 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.9154, allocations: 2.121 MB / 0.6433 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.9154, allocations: 10.44 kB / 0.6433 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.9154, allocations: 14.25 kB / 0.6433 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.9154, allocations: 7.594 kB / 0.6433 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006689/0.9221, allocations: 4.819 MB / 0.648 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.9222, allocations: 0 / 0.648 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/0.9229, allocations: 170.2 kB / 0.6482 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.9241, allocations: 494.4 kB / 0.6487 GB, free: 46.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.959e-05/0.9242, allocations: 34.75 kB / 0.6487 GB, free: 46.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/0.9321, allocations: 10.47 MB / 0.6589 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9322, allocations: 3.75 kB / 0.6589 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.9361, allocations: 3.072 MB / 0.6619 GB, free: 36.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.9369, allocations: 407.6 kB / 0.6623 GB, free: 36.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.9372, allocations: 27.38 kB / 0.6623 GB, free: 36.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.9381, allocations: 77 kB / 0.6624 GB, free: 36.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.9384, allocations: 94.08 kB / 0.6625 GB, free: 36.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.9385, allocations: 38.36 kB / 0.6625 GB, free: 36.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.94, allocations: 1.135 MB / 0.6636 GB, free: 35.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.94, allocations: 0 / 0.6636 GB, free: 35.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002119/0.9421, allocations: 0.5892 MB / 0.6642 GB, free: 35.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,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.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005609/0.9427, allocations: 425.2 kB / 0.6646 GB, free: 35.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.9453, allocations: 2.039 MB / 0.6666 GB, free: 34.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9453, allocations: 0 / 0.6666 GB, free: 34.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.9471, allocations: 1.495 MB / 0.6681 GB, free: 33.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.949, allocations: 495.1 kB / 0.6686 GB, free: 33.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/0.9559, allocations: 4.43 MB / 0.6729 GB, free: 31.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.9574, allocations: 2.351 MB / 0.6752 GB, free: 30.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001421/0.9589, allocations: 373.2 kB / 0.6755 GB, free: 30.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.9592, allocations: 121 kB / 0.6756 GB, free: 30.18 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.9592, allocations: 0 / 0.6756 GB, free: 30.18 MB / 442.7 MB Notification: Performance of Templates: time 0.04443/1.004, allocations: 29.16 MB / 0.7041 GB, free: 25.28 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches