Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 95.09 kB / 18.01 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.001183/0.001183, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 308.4 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09544, allocations: 51.52 MB / 359.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2392/0.3347, allocations: 32.67 MB / 392.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02469/0.3595, allocations: 9.81 MB / 402.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009553/0.3691, allocations: 231.6 kB / 402.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009354/0.3785, allocations: 2.289 MB / 404.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0155/0.394, allocations: 3.457 MB / 408.4 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00894/0.403, allocations: 2.019 MB / 410.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0225/0.4255, allocations: 13.66 MB / 424.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0436/0.4691, allocations: 21.63 MB / 445.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.4797, allocations: 4.689 MB / 450.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.4913, allocations: 5.769 MB / 456.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003957/0.4953, allocations: 0.7344 MB / 456.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006984/0.5023, allocations: 1.171 MB / 458.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004492/0.5068, allocations: 2.417 MB / 460.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01172/0.5186, allocations: 5.736 MB / 466.2 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02496/0.5436, allocations: 21.3 MB / 487.5 MB, free: 11.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5436, allocations: 0 / 487.5 MB, free: 11.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5436, allocations: 0 / 487.5 MB, free: 11.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007171/0.5443, allocations: 0 / 487.5 MB, free: 11.92 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04018/0.5845, allocations: 12.5 MB / 0.4883 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.5846, allocations: 12.03 kB / 0.4883 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03978/0.6244, allocations: 6.772 MB / 0.4949 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/0.6445, allocations: 7.933 MB / 0.5027 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/0.6455, allocations: 0.8109 MB / 0.5035 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004885/0.6505, allocations: 1.07 MB / 0.5045 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05026/0.7007, allocations: 17.43 MB / 0.5215 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007031/0.7015, allocations: 19.8 kB / 0.5215 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004298/0.7058, allocations: 455.9 kB / 0.522 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009834/0.7068, allocations: 0.6358 MB / 0.5226 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4255/1.132, allocations: 16.38 MB / 0.5386 GB, free: 121.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08775/1.22, allocations: 56.12 MB / 0.5934 GB, free: 84.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/1.24, allocations: 33.68 MB / 0.6263 GB, free: 50.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006407/1.247, allocations: 4.491 MB / 0.6307 GB, free: 46.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/1.265, allocations: 12.46 MB / 0.6428 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003646/1.268, allocations: 3.098 MB / 0.6459 GB, free: 30.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 5.71e-06/1.268, allocations: 3.938 kB / 0.6459 GB, free: 30.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04394/1.312, allocations: 23.55 MB / 0.6689 GB, free: 6.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.312, allocations: 423.4 kB / 0.6693 GB, free: 6.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006024/1.318, allocations: 4.599 MB / 0.6738 GB, free: 1.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007575/1.319, allocations: 97.7 kB / 0.6738 GB, free: 1.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004065/1.323, allocations: 4.773 MB / 0.6785 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.325, allocations: 1.54 MB / 0.68 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006978/1.326, allocations: 475.1 kB / 0.6805 GB, free: 10.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/1.326, allocations: 305.1 kB / 0.6808 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/1.331, allocations: 2.838 MB / 0.6835 GB, free: 7.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/1.337, allocations: 5.014 MB / 0.6884 GB, free: 1.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.349, allocations: 8.311 MB / 0.6965 GB, free: 8.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.346e-05/1.349, allocations: 16 kB / 0.6966 GB, free: 8.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01737/1.366, allocations: 9.593 MB / 0.7059 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/1.366, allocations: 38.62 kB / 0.706 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.599e-05/1.366, allocations: 67.94 kB / 0.706 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/1.37, allocations: 1.486 MB / 0.7075 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/1.376, allocations: 1.33 MB / 0.7088 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2503/1.626, allocations: 16.31 MB / 0.7247 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005713/1.632, allocations: 358.3 kB / 0.725 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/1.634, allocations: 286.4 kB / 0.7253 GB, free: 153.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009318/1.643, allocations: 3.918 MB / 0.7291 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001904/1.645, allocations: 0.5002 MB / 0.7296 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.661, allocations: 7.966 MB / 0.7374 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/1.661, allocations: 50.7 kB / 0.7375 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/1.661, allocations: 16.28 kB / 0.7375 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-05/1.661, allocations: 23.95 kB / 0.7375 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/1.689, allocations: 17.5 MB / 0.7546 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.689, allocations: 5.156 kB / 0.7546 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/1.692, allocations: 0.7567 MB / 0.7553 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/1.696, allocations: 1.563 MB / 0.7569 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/1.696, allocations: 107.7 kB / 0.757 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/1.714, allocations: 19.6 MB / 0.7761 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.714, allocations: 7.781 kB / 0.7761 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.73, allocations: 11.49 MB / 0.7873 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003113/1.733, allocations: 1.156 MB / 0.7885 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.734, allocations: 98.92 kB / 0.7885 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/1.738, allocations: 249.4 kB / 0.7888 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007691/1.738, allocations: 340.4 kB / 0.7891 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/1.739, allocations: 132.5 kB / 0.7892 GB, free: 117.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005083/1.744, allocations: 3.135 MB / 0.7923 GB, free: 115.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.744, allocations: 4 kB / 0.7923 GB, free: 115.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009584/1.753, allocations: 1.888 MB / 0.7941 GB, free: 113.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.001908/1.755, allocations: 0.5783 MB / 0.7947 GB, free: 112.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.768, allocations: 8.079 MB / 0.8026 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.768, allocations: 0 / 0.8026 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007184/1.775, allocations: 4.66 MB / 0.8072 GB, free: 100.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009449/1.785, allocations: 1.286 MB / 0.8084 GB, free: 99.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03561/1.82, allocations: 24.26 MB / 0.8321 GB, free: 74.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006825/1.827, allocations: 6.645 MB / 0.8386 GB, free: 68.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/1.829, allocations: 439.3 kB / 0.839 GB, free: 67.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.103e-06/1.829, allocations: 0 / 0.839 GB, free: 67.66 MB / 494.1 MB Notification: Performance of Templates: time 1.199/3.028, allocations: 0.5152 GB / 1.354 GB, free: 118.5 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches