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.0009495/0.0009496, allocations: 91.45 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009594/0.0009593, allocations: 201.3 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.4 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002424, allocations: 8 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09535, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01366/0.109, allocations: 12.64 MB / 372.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2465/0.3556, allocations: 4.36 MB / 376.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.3582, allocations: 75.28 kB / 377 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.361, allocations: 0.8652 MB / 377.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004129/0.3652, allocations: 1.126 MB / 379 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.367, allocations: 0.822 MB / 379.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004914/0.3719, allocations: 4.249 MB / 384.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.3751, allocations: 2.667 MB / 386.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.3775, allocations: 1.267 MB / 388 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.38, allocations: 1.665 MB / 389.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004068/0.3804, allocations: 200.8 kB / 389.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.3818, allocations: 441.5 kB / 390.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007224/0.3825, allocations: 0.7473 MB / 391 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.3845, allocations: 1.714 MB / 392.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.3892, allocations: 5.447 MB / 398.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3892, allocations: 0 / 398.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3892, allocations: 0 / 398.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.3893, allocations: 1.312 kB / 398.2 MB, free: 15.9 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.009547/0.3989, allocations: 3.672 MB / 401.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3989, allocations: 8.25 kB / 401.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.4031, allocations: 0.8117 MB / 402.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/0.4071, allocations: 2.293 MB / 405 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.4073, allocations: 244 kB / 405.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005512/0.4078, allocations: 311.8 kB / 405.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007587/0.4154, allocations: 4.232 MB / 409.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.197e-05/0.4155, allocations: 7.984 kB / 409.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/0.4159, allocations: 127.6 kB / 409.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.416, allocations: 150.3 kB / 410 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00647/0.4225, allocations: 3.628 MB / 413.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02112/0.4437, allocations: 13.33 MB / 427 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007439/0.4511, allocations: 7.189 MB / 434.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/0.4542, allocations: 1.581 MB / 435.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007455/0.4617, allocations: 4.218 MB / 440 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.4617, allocations: 47.56 kB / 440 MB, free: 7.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.266e-06/0.4617, allocations: 0 / 440 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.0119/0.4736, allocations: 5.63 MB / 445.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4737, allocations: 64.41 kB / 445.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.4768, allocations: 1.722 MB / 447.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.477, allocations: 45.7 kB / 447.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.4781, allocations: 1.416 MB / 448.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.4785, allocations: 434.5 kB / 449.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.4787, allocations: 129.6 kB / 449.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4788, allocations: 301.1 kB / 449.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.4801, allocations: 0.6559 MB / 450.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.4816, allocations: 1.144 MB / 451.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.4845, allocations: 1.914 MB / 453.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.4845, allocations: 4 kB / 453.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004351/0.4888, allocations: 2.421 MB / 455.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4889, allocations: 15.94 kB / 455.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.4889, allocations: 12 kB / 455.9 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/0.4897, allocations: 319.4 kB / 456.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4911, allocations: 355.4 kB / 456.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.4974, allocations: 6.119 MB / 462.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.499, allocations: 88.02 kB / 462.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.4992, allocations: 64 kB / 462.8 MB, free: 15.18 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.002511/0.5017, allocations: 1.005 MB / 463.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.5024, allocations: 185.8 kB / 464 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.507, allocations: 2.225 MB / 466.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.507, allocations: 12 kB / 466.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/0.5071, allocations: 8 kB / 466.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5071, allocations: 11.91 kB / 466.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00897/0.5161, allocations: 4.969 MB / 471.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.5161, allocations: 4 kB / 471.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.5168, allocations: 167.7 kB / 471.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.5181, allocations: 499.9 kB / 471.9 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.5183, allocations: 39.98 kB / 471.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.5288, allocations: 10.53 MB / 482.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5288, allocations: 4.031 kB / 482.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.5339, allocations: 3.141 MB / 485.6 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009147/0.5348, allocations: 406.8 kB / 486 MB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.5353, allocations: 28 kB / 486 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.5363, allocations: 75.94 kB / 486.1 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.5366, allocations: 96.8 kB / 486.2 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.344e-05/0.5367, allocations: 39.98 kB / 486.2 MB, free: 6.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.5387, allocations: 1.182 MB / 487.4 MB, free: 5.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5388, allocations: 0 / 487.4 MB, free: 5.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002284/0.541, allocations: 0.547 MB / 488 MB, free: 5.074 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.0003866/0.5414, allocations: 174.3 kB / 488.1 MB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003636/0.5451, allocations: 2.147 MB / 490.3 MB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5451, allocations: 4 kB / 490.3 MB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.5476, allocations: 1.561 MB / 491.9 MB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.5505, allocations: 0.4999 MB / 492.4 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5616, allocations: 6.978 MB / 499.3 MB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002848/0.5645, allocations: 2.247 MB / 0.4898 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/0.5651, allocations: 127.4 kB / 0.4899 GB, free: 7.137 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5652, allocations: 4 kB / 0.49 GB, free: 7.133 MB / 414.1 MB Notification: Performance of Templates: time 0.2808/0.846, allocations: 109.2 MB / 0.5966 GB, free: 92.2 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