Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001206, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 50.54 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01745/0.2953, allocations: 17.45 MB / 426.7 MB, free: 64 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.3077, allocations: 5.95 MB / 432.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.3113, allocations: 115.6 kB / 432.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004275/0.3156, allocations: 1.36 MB / 434.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005866/0.3215, allocations: 1.759 MB / 435.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.3247, allocations: 1.089 MB / 437 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008467/0.3332, allocations: 6.344 MB / 443.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009252/0.3424, allocations: 5.379 MB / 448.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006313/0.3488, allocations: 2.966 MB / 451.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006748/0.3555, allocations: 3.472 MB / 455.1 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002463/0.358, allocations: 0.7852 MB / 455.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.3619, allocations: 1.085 MB / 457 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.365, allocations: 1.862 MB / 458.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006552/0.3715, allocations: 3.361 MB / 462.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.3853, allocations: 10.56 MB / 472.8 MB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.3853, allocations: 0 / 472.8 MB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3853, allocations: 7.922 kB / 472.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003676/0.3857, allocations: 0 / 472.8 MB, free: 1.766 MB / 382.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.02004/0.4057, allocations: 6.553 MB / 479.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4058, allocations: 12.03 kB / 479.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/0.4119, allocations: 1.091 MB / 480.5 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009064/0.421, allocations: 3.688 MB / 484.1 MB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.4213, allocations: 361.7 kB / 484.5 MB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.4225, allocations: 479.9 kB / 485 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.4339, allocations: 6.873 MB / 491.8 MB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.391e-05/0.434, allocations: 7.906 kB / 491.8 MB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004386/0.4344, allocations: 200 kB / 492 MB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.4346, allocations: 253.8 kB / 492.3 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.445, allocations: 5.929 MB / 498.2 MB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03988/0.4849, allocations: 20.73 MB / 0.5068 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.4953, allocations: 9.975 MB / 0.5165 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/0.4995, allocations: 2.477 MB / 0.5189 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.5125, allocations: 6.715 MB / 0.5255 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.5126, allocations: 64.55 kB / 0.5256 GB, free: 14.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.037e-06/0.5126, allocations: 0 / 0.5256 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01991/0.5325, allocations: 9.675 MB / 0.535 GB, free: 4.551 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.5326, allocations: 73.41 kB / 0.5351 GB, free: 4.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006014/0.5386, allocations: 3.017 MB / 0.538 GB, free: 1.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004587/0.5391, allocations: 65.7 kB / 0.5381 GB, free: 1.363 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2212/0.7604, allocations: 2.168 MB / 0.5402 GB, free: 121.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009039/0.7613, allocations: 0.7639 MB / 0.541 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000946/0.7623, allocations: 466.6 kB / 0.5414 GB, free: 121.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.7623, allocations: 309.8 kB / 0.5417 GB, free: 120.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.7643, allocations: 1.289 MB / 0.543 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.7663, allocations: 1.919 MB / 0.5448 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/0.7698, allocations: 3.346 MB / 0.5481 GB, free: 117.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.7698, allocations: 7.938 kB / 0.5481 GB, free: 117.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005753/0.7755, allocations: 4.245 MB / 0.5522 GB, free: 115.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.7756, allocations: 13.12 kB / 0.5523 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.7756, allocations: 23.41 kB / 0.5523 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.7778, allocations: 0.7635 MB / 0.553 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.7799, allocations: 0.5666 MB / 0.5536 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007958/0.7879, allocations: 10.86 MB / 0.5642 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.79, allocations: 110.5 kB / 0.5643 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.7903, allocations: 103 kB / 0.5644 GB, free: 106.9 MB / 462.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.002179/0.7925, allocations: 1.628 MB / 0.566 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/0.793, allocations: 317.1 kB / 0.5663 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/0.7984, allocations: 3.904 MB / 0.5701 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.7984, allocations: 31.31 kB / 0.5701 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7984, allocations: 8 kB / 0.5701 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.7985, allocations: 11.95 kB / 0.5701 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.8089, allocations: 8.567 MB / 0.5785 GB, free: 93.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8089, allocations: 7.984 kB / 0.5785 GB, free: 93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.8102, allocations: 339.8 kB / 0.5788 GB, free: 92.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.8127, allocations: 0.947 MB / 0.5798 GB, free: 91.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.8129, allocations: 55.98 kB / 0.5798 GB, free: 91.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.8237, allocations: 15.76 MB / 0.5952 GB, free: 75.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8238, allocations: 4.094 kB / 0.5952 GB, free: 75.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006878/0.8306, allocations: 5.698 MB / 0.6008 GB, free: 69.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.8319, allocations: 0.6885 MB / 0.6015 GB, free: 68.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/0.8323, allocations: 52 kB / 0.6015 GB, free: 68.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.8336, allocations: 111.9 kB / 0.6016 GB, free: 68.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/0.834, allocations: 193.7 kB / 0.6018 GB, free: 68.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.8341, allocations: 59.98 kB / 0.6019 GB, free: 68.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002313/0.8364, allocations: 2.082 MB / 0.6039 GB, free: 66.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8364, allocations: 0 / 0.6039 GB, free: 66.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002457/0.8389, allocations: 0.9427 MB / 0.6048 GB, free: 65.18 MB / 462.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%), (3,25,88.9%), (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.0005356/0.8394, allocations: 262.2 kB / 0.6051 GB, free: 64.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.844, allocations: 3.91 MB / 0.6089 GB, free: 60.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.844, allocations: 8 kB / 0.6089 GB, free: 60.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.8471, allocations: 2.65 MB / 0.6115 GB, free: 58.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.8507, allocations: 0.9167 MB / 0.6124 GB, free: 57.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.8636, allocations: 9.433 MB / 0.6216 GB, free: 47.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.8659, allocations: 3.438 MB / 0.6249 GB, free: 44.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002012/0.8679, allocations: 0.7606 MB / 0.6257 GB, free: 43.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.8684, allocations: 195.4 kB / 0.6259 GB, free: 43.43 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.8684, allocations: 4 kB / 0.6259 GB, free: 43.43 MB / 462.1 MB Notification: Performance of Templates: time 0.06669/0.9351, allocations: 49.23 MB / 0.6739 GB, free: 10.76 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches