Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.001389/0.001389, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007525/0.0007525, allocations: 95.83 kB / 297.4 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000212/0.000212, allocations: 12 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1928, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.4762, allocations: 110 MB / 0.5066 GB, free: 96.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4765, allocations: 94.39 kB / 0.5066 GB, free: 96.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1667/0.6432, allocations: 82.71 MB / 0.5874 GB, free: 24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6433, allocations: 0 / 0.5874 GB, free: 24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002624/0.6435, allocations: 79.88 kB / 0.5875 GB, free: 23.93 MB / 378.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.00927/0.6528, allocations: 3.458 MB / 0.5909 GB, free: 20.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6529, allocations: 12.03 kB / 0.5909 GB, free: 20.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.6565, allocations: 0.7267 MB / 0.5916 GB, free: 19.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005345/0.6619, allocations: 2.696 MB / 0.5942 GB, free: 16.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.6621, allocations: 238.6 kB / 0.5945 GB, free: 16.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000815/0.6629, allocations: 308.3 kB / 0.5947 GB, free: 16.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.6702, allocations: 4.163 MB / 0.5988 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.029e-05/0.6703, allocations: 4 kB / 0.5988 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/0.6707, allocations: 132 kB / 0.5989 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.6708, allocations: 142.3 kB / 0.5991 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005671/0.6765, allocations: 3.41 MB / 0.6024 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.6956, allocations: 13.35 MB / 0.6154 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/0.7026, allocations: 7.165 MB / 0.6224 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.7057, allocations: 1.725 MB / 0.6241 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006985/0.7127, allocations: 4.221 MB / 0.6282 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.7127, allocations: 55.5 kB / 0.6283 GB, free: 12.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 3.035e-06/0.7128, allocations: 0 / 0.6283 GB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.01093/0.7237, allocations: 5.584 MB / 0.6338 GB, free: 6.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.7238, allocations: 68.41 kB / 0.6338 GB, free: 6.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.7267, allocations: 1.683 MB / 0.6355 GB, free: 4.871 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.7268, allocations: 49.7 kB / 0.6355 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009409/0.7277, allocations: 1.415 MB / 0.6369 GB, free: 3.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.7281, allocations: 433.8 kB / 0.6373 GB, free: 2.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.7282, allocations: 32 kB / 0.6373 GB, free: 2.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7283, allocations: 369.8 kB / 0.6377 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.7294, allocations: 0.6598 MB / 0.6383 GB, free: 1.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.7309, allocations: 1.121 MB / 0.6394 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.7335, allocations: 1.894 MB / 0.6413 GB, free: 14.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.7336, allocations: 8 kB / 0.6413 GB, free: 14.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003961/0.7375, allocations: 2.405 MB / 0.6436 GB, free: 12.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.7376, allocations: 12 kB / 0.6436 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.7376, allocations: 12 kB / 0.6437 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007861/0.7384, allocations: 315.4 kB / 0.644 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.7397, allocations: 355.4 kB / 0.6443 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/0.7455, allocations: 6.127 MB / 0.6503 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.7468, allocations: 79.8 kB / 0.6504 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.747, allocations: 72.3 kB / 0.6504 GB, free: 4.652 MB / 426.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 () * 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 (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.001886/0.7489, allocations: 0.9931 MB / 0.6514 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.7493, allocations: 181.8 kB / 0.6516 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.7533, allocations: 2.229 MB / 0.6537 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.7534, allocations: 12 kB / 0.6538 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.7534, allocations: 4 kB / 0.6538 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.7534, allocations: 11.97 kB / 0.6538 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008835/0.7622, allocations: 4.932 MB / 0.6586 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7623, allocations: 4 kB / 0.6586 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.7631, allocations: 171.9 kB / 0.6588 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.7644, allocations: 0.4919 MB / 0.6592 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.7645, allocations: 35.98 kB / 0.6593 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.7752, allocations: 10.52 MB / 0.6695 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7752, allocations: 0 / 0.6695 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2282/1.003, allocations: 3.12 MB / 0.6726 GB, free: 94.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.005, allocations: 409.7 kB / 0.673 GB, free: 93.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/1.005, allocations: 34 kB / 0.673 GB, free: 93.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/1.006, allocations: 76.97 kB / 0.6731 GB, free: 93.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.006, allocations: 87.78 kB / 0.6732 GB, free: 93.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/1.006, allocations: 42.84 kB / 0.6732 GB, free: 93.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001669/1.008, allocations: 1.151 MB / 0.6743 GB, free: 93.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.008, allocations: 3.812 kB / 0.6743 GB, free: 93.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002093/1.01, allocations: 0.5893 MB / 0.6749 GB, free: 93.81 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 () * 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 (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.0006076/1.01, allocations: 374.7 kB / 0.6753 GB, free: 93.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003425/1.014, allocations: 2.139 MB / 0.6774 GB, free: 93.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.014, allocations: 0 / 0.6774 GB, free: 93.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.016, allocations: 1.566 MB / 0.6789 GB, free: 92.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.019, allocations: 490.5 kB / 0.6794 GB, free: 92.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/1.028, allocations: 6.659 MB / 0.6859 GB, free: 89.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/1.03, allocations: 2.239 MB / 0.6881 GB, free: 89.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/1.03, allocations: 131.7 kB / 0.6882 GB, free: 89.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.794e-06/1.03, allocations: 4.5 kB / 0.6882 GB, free: 89.08 MB / 442.7 MB Notification: Performance of Templates: time 0.08665/1.117, allocations: 110.3 MB / 0.7959 GB, free: 17.9 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches