Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001682, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009913/0.0009915, allocations: 50.81 kB / 301.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09296, allocations: 49.45 MB / 350.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0181/0.1111, allocations: 16.81 MB / 367.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1922/0.3033, allocations: 5.675 MB / 373.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.3068, allocations: 110.2 kB / 373.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.3112, allocations: 1.338 MB / 374.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007011/0.3182, allocations: 1.787 MB / 376.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.3217, allocations: 1.034 MB / 377.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00898/0.3307, allocations: 6.255 MB / 383.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008064/0.3388, allocations: 5.383 MB / 389.1 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006468/0.3453, allocations: 2.931 MB / 392.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006592/0.3519, allocations: 3.324 MB / 395.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002758/0.3547, allocations: 0.788 MB / 396.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.3591, allocations: 1.08 MB / 397.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.3616, allocations: 1.866 MB / 399.1 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006604/0.3682, allocations: 3.345 MB / 402.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.3795, allocations: 10.45 MB / 412.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3795, allocations: 0 / 412.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.3795, allocations: 0 / 412.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002812/0.3798, allocations: 3.938 kB / 412.9 MB, free: 3.254 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01732/0.3972, allocations: 6.52 MB / 419.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3972, allocations: 11.89 kB / 419.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.4028, allocations: 1.054 MB / 420.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008892/0.4117, allocations: 3.54 MB / 424.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.4121, allocations: 365 kB / 424.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.4136, allocations: 494.2 kB / 424.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.4279, allocations: 6.866 MB / 431.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.4281, allocations: 19.83 kB / 431.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004815/0.4286, allocations: 206 kB / 432 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.4288, allocations: 233.8 kB / 432.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.4403, allocations: 5.937 MB / 438.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03614/0.4765, allocations: 20.92 MB / 459.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/0.4859, allocations: 9.946 MB / 469 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/0.4901, allocations: 2.497 MB / 471.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5014, allocations: 6.497 MB / 478 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.5015, allocations: 56.56 kB / 478.1 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.198e-06/0.5015, allocations: 0 / 478.1 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.0185/0.52, allocations: 9.674 MB / 487.7 MB, free: 6.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.5201, allocations: 77.41 kB / 487.8 MB, free: 6.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.5246, allocations: 2.98 MB / 490.8 MB, free: 3.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003822/0.525, allocations: 65.7 kB / 490.9 MB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.5265, allocations: 2.159 MB / 493 MB, free: 1.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007465/0.5273, allocations: 0.7599 MB / 493.8 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007555/0.528, allocations: 465.1 kB / 494.2 MB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5281, allocations: 305.1 kB / 494.5 MB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.5302, allocations: 1.293 MB / 495.8 MB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/0.5326, allocations: 1.916 MB / 497.7 MB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.5371, allocations: 3.34 MB / 0.4893 GB, free: 8.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.5372, allocations: 11.94 kB / 0.4893 GB, free: 8.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007374/0.5446, allocations: 4.245 MB / 0.4935 GB, free: 4.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.5446, allocations: 22.69 kB / 0.4935 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.5447, allocations: 19.98 kB / 0.4935 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.5473, allocations: 0.7724 MB / 0.4943 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.5498, allocations: 0.5617 MB / 0.4948 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.5611, allocations: 10.9 MB / 0.5055 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.5635, allocations: 107.8 kB / 0.5056 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.5639, allocations: 108 kB / 0.5057 GB, free: 7.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002944/0.5668, allocations: 1.602 MB / 0.5072 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008432/0.5677, allocations: 316.2 kB / 0.5075 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/0.5743, allocations: 3.914 MB / 0.5114 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.5744, allocations: 24 kB / 0.5114 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.5744, allocations: 8 kB / 0.5114 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.5744, allocations: 11.95 kB / 0.5114 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.5887, allocations: 8.556 MB / 0.5198 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.5887, allocations: 0 / 0.5198 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.5903, allocations: 352 kB / 0.5201 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/0.5934, allocations: 0.9421 MB / 0.521 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.5936, allocations: 55.98 kB / 0.5211 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2099/0.8035, allocations: 15.72 MB / 0.5364 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8036, allocations: 2 kB / 0.5364 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009555/0.8131, allocations: 5.688 MB / 0.542 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/0.815, allocations: 0.6877 MB / 0.5427 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/0.8156, allocations: 55.03 kB / 0.5427 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.8172, allocations: 107.6 kB / 0.5428 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/0.8178, allocations: 184.2 kB / 0.543 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.8179, allocations: 71.53 kB / 0.5431 GB, free: 135.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003605/0.8215, allocations: 2.063 MB / 0.5451 GB, free: 134.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.11e-07/0.8216, allocations: 1.688 kB / 0.5451 GB, free: 134.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003726/0.8253, allocations: 0.9388 MB / 0.546 GB, free: 134.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (2,26,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.0007857/0.8261, allocations: 261.8 kB / 0.5462 GB, free: 134.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01/0.8361, allocations: 5.368 MB / 0.5515 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.8361, allocations: 3.469 kB / 0.5515 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00344/0.8396, allocations: 2.632 MB / 0.554 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/0.8437, allocations: 0.913 MB / 0.5549 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.8585, allocations: 9.465 MB / 0.5642 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/0.8611, allocations: 3.332 MB / 0.5674 GB, free: 124.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009623/0.8621, allocations: 217.6 kB / 0.5676 GB, free: 124.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8621, allocations: 0 / 0.5676 GB, free: 124.5 MB / 446.1 MB Notification: Performance of Templates: time 0.3304/1.193, allocations: 203.8 MB / 0.7666 GB, free: 100.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches