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.001411/0.001411, allocations: 111 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2787, allocations: 50.55 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03522/0.314, allocations: 34.62 MB / 444.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02346/0.3375, allocations: 9.999 MB / 454.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008238/0.3458, allocations: 251.1 kB / 454.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0195/0.3653, allocations: 8.168 MB / 463 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.3815, allocations: 3.795 MB / 466.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009195/0.3907, allocations: 2.29 MB / 469.1 MB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02027/0.411, allocations: 13.34 MB / 482.4 MB, free: 8.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04266/0.4537, allocations: 22.63 MB / 0.4932 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.4692, allocations: 6.666 MB / 0.4997 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01622/0.4854, allocations: 7.502 MB / 0.5071 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006011/0.4915, allocations: 1.895 MB / 0.5089 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008319/0.4998, allocations: 2.324 MB / 0.5112 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00746/0.5073, allocations: 3.788 MB / 0.5149 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01553/0.5229, allocations: 7.21 MB / 0.5219 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5886/1.111, allocations: 25.3 MB / 0.5466 GB, free: 53.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.111, allocations: 0 / 0.5466 GB, free: 53.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/1.112, allocations: 0 / 0.5466 GB, free: 53.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006886/1.112, allocations: 1.812 kB / 0.5466 GB, free: 53.48 MB / 462.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.04755/1.16, allocations: 14.85 MB / 0.5611 GB, free: 49.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.16, allocations: 12.05 kB / 0.5612 GB, free: 49.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03985/1.2, allocations: 6.79 MB / 0.5678 GB, free: 49.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.217, allocations: 8.17 MB / 0.5758 GB, free: 46.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006393/1.218, allocations: 0.807 MB / 0.5766 GB, free: 46.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005095/1.223, allocations: 1.075 MB / 0.5776 GB, free: 46.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04742/1.27, allocations: 17.42 MB / 0.5946 GB, free: 32.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004264/1.271, allocations: 15.8 kB / 0.5946 GB, free: 32.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004374/1.275, allocations: 450.9 kB / 0.5951 GB, free: 31.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005412/1.276, allocations: 0.6397 MB / 0.5957 GB, free: 31.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03648/1.312, allocations: 16.38 MB / 0.6117 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/1.416, allocations: 55.29 MB / 0.6657 GB, free: 7.438 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03122/1.447, allocations: 33.7 MB / 0.6986 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008631/1.456, allocations: 4.436 MB / 0.7029 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0267/1.483, allocations: 12.41 MB / 0.715 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004401/1.487, allocations: 3.096 MB / 0.7181 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=434): time 5.63e-06/1.487, allocations: 0 / 0.7181 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of matching and sorting (n=452): time 0.05146/1.539, allocations: 23.47 MB / 0.741 GB, free: 6.934 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/1.539, allocations: 411.4 kB / 0.7414 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007389/1.546, allocations: 4.603 MB / 0.7459 GB, free: 1.832 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.547, allocations: 105.7 kB / 0.746 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004843/1.552, allocations: 4.756 MB / 0.7506 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/1.554, allocations: 1.552 MB / 0.7521 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001904/1.556, allocations: 1.129 MB / 0.7532 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.557, allocations: 309.1 kB / 0.7535 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/1.561, allocations: 2.83 MB / 0.7563 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/1.567, allocations: 5.018 MB / 0.7612 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3164/1.883, allocations: 8.301 MB / 0.7693 GB, free: 228.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.764e-05/1.883, allocations: 19.41 kB / 0.7693 GB, free: 228.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01603/1.899, allocations: 9.579 MB / 0.7787 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/1.899, allocations: 33.03 kB / 0.7787 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.899, allocations: 66.38 kB / 0.7788 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/1.903, allocations: 1.486 MB / 0.7802 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.908, allocations: 1.329 MB / 0.7815 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.926, allocations: 17.6 MB / 0.7987 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005611/1.932, allocations: 359.5 kB / 0.799 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/1.933, allocations: 284.6 kB / 0.7993 GB, free: 212.1 MB / 0.5919 GB 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.008232/1.942, allocations: 3.908 MB / 0.8031 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/1.943, allocations: 0.4969 MB / 0.8036 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.957, allocations: 7.954 MB / 0.8114 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/1.957, allocations: 51.94 kB / 0.8114 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/1.957, allocations: 20 kB / 0.8114 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/1.957, allocations: 30.28 kB / 0.8115 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.986, allocations: 17.39 MB / 0.8285 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.986, allocations: 4 kB / 0.8285 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/1.99, allocations: 0.7567 MB / 0.8292 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003902/1.993, allocations: 1.567 MB / 0.8307 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007717/1.994, allocations: 112 kB / 0.8308 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/2.014, allocations: 21.28 MB / 0.8516 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.014, allocations: 7.75 kB / 0.8516 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/2.03, allocations: 11.49 MB / 0.8628 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/2.034, allocations: 1.137 MB / 0.864 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/2.035, allocations: 107.2 kB / 0.8641 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/2.038, allocations: 231.8 kB / 0.8643 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007829/2.039, allocations: 343.5 kB / 0.8646 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/2.039, allocations: 128 kB / 0.8647 GB, free: 152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004577/2.044, allocations: 3.14 MB / 0.8678 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.633e-06/2.044, allocations: 0 / 0.8678 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007915/2.052, allocations: 1.888 MB / 0.8696 GB, free: 147 MB / 0.5919 GB 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.001854/2.054, allocations: 0.5815 MB / 0.8702 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01174/2.065, allocations: 8.089 MB / 0.8781 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/2.065, allocations: 0 / 0.8781 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006906/2.072, allocations: 4.648 MB / 0.8826 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006761/2.079, allocations: 1.354 MB / 0.884 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/2.111, allocations: 19.2 MB / 0.9027 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/2.118, allocations: 6.634 MB / 0.9092 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/2.12, allocations: 443.3 kB / 0.9096 GB, free: 106 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/2.12, allocations: 0 / 0.9096 GB, free: 106 MB / 0.5919 GB Notification: Performance of Templates: time 1.415/3.535, allocations: 0.5175 GB / 1.427 GB, free: 212.3 MB / 0.5919 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