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.0009992/0.0009994, allocations: 92.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009597/0.0009597, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002415/0.0002416, allocations: 4 kB / 306.6 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 51.49 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1846/0.2919, allocations: 14.02 MB / 372.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3024, allocations: 5.672 MB / 377.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.3053, allocations: 97.53 kB / 377.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.3088, allocations: 1.077 MB / 378.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.3143, allocations: 1.576 MB / 380.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3166, allocations: 0.7245 MB / 381.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007396/0.3241, allocations: 4.23 MB / 385.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005223/0.3293, allocations: 3.559 MB / 389 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.3338, allocations: 1.953 MB / 391 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.3385, allocations: 2.334 MB / 393.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.3396, allocations: 324 kB / 393.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.3426, allocations: 0.5538 MB / 394.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.3437, allocations: 1.231 MB / 395.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.3456, allocations: 1.143 MB / 396.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.3531, allocations: 8.572 MB / 405.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3531, allocations: 0 / 405.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3531, allocations: 0 / 405.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000323/0.3534, allocations: 4 kB / 405.1 MB, free: 12.95 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.01398/0.3674, allocations: 5.556 MB / 410.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3675, allocations: 8.031 kB / 410.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.3733, allocations: 1.098 MB / 411.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007498/0.3808, allocations: 3.444 MB / 415.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.3812, allocations: 361.8 kB / 415.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.3824, allocations: 491.9 kB / 416.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.3956, allocations: 6.81 MB / 422.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.46e-05/0.3957, allocations: 7.906 kB / 422.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004778/0.3962, allocations: 200 kB / 423.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.3965, allocations: 241.8 kB / 423.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.4084, allocations: 5.926 MB / 429.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0393/0.4477, allocations: 21.05 MB / 450.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009701/0.4575, allocations: 9.952 MB / 460.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.4697, allocations: 5.666 MB / 465.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.4697, allocations: 56.56 kB / 466 MB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=227): time 3.988e-06/0.4698, allocations: 0 / 466 MB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=234): time 0.01973/0.4895, allocations: 9.939 MB / 475.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.4896, allocations: 81.39 kB / 476 MB, free: 4.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006856/0.4964, allocations: 2.93 MB / 478.9 MB, free: 1.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004308/0.4969, allocations: 69.7 kB / 479 MB, free: 1.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.4986, allocations: 2.164 MB / 481.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.4996, allocations: 0.7856 MB / 481.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.5, allocations: 48 kB / 482 MB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.5002, allocations: 415.2 kB / 482.4 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.5026, allocations: 1.325 MB / 483.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/0.5056, allocations: 1.937 MB / 485.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.5087, allocations: 1.622 MB / 487.3 MB, free: 8.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/0.5087, allocations: 8 kB / 487.3 MB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.008648/0.5174, allocations: 4.316 MB / 491.6 MB, free: 4.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5175, allocations: 12 kB / 491.6 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.5175, allocations: 24.03 kB / 491.6 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.5202, allocations: 0.7707 MB / 492.4 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.5225, allocations: 0.5734 MB / 493 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.5331, allocations: 10.21 MB / 0.4914 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.5358, allocations: 116.1 kB / 0.4915 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/0.5362, allocations: 108 kB / 0.4916 GB, free: 8.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * 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 initialization (284): * Single equations (assignments): 279 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003378/0.5396, allocations: 1.61 MB / 0.4932 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.5406, allocations: 324.2 kB / 0.4935 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007753/0.5484, allocations: 3.996 MB / 0.4974 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.5485, allocations: 27.95 kB / 0.4974 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.654e-05/0.5485, allocations: 12 kB / 0.4974 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.5485, allocations: 11.95 kB / 0.4974 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.5667, allocations: 8.695 MB / 0.5059 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5668, allocations: 0 / 0.5059 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.5684, allocations: 367.7 kB / 0.5063 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/0.5715, allocations: 0.9416 MB / 0.5072 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.5718, allocations: 59.98 kB / 0.5073 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.587, allocations: 14.67 MB / 0.5216 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5871, allocations: 4 kB / 0.5216 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.598, allocations: 6.013 MB / 0.5275 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/0.6002, allocations: 0.7001 MB / 0.5281 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000971/0.6012, allocations: 55.98 kB / 0.5282 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.6032, allocations: 119.9 kB / 0.5283 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005063/0.6037, allocations: 190.3 kB / 0.5285 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/0.6039, allocations: 63.98 kB / 0.5286 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2094/0.8134, allocations: 2.018 MB / 0.5305 GB, free: 138.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8134, allocations: 0 / 0.5305 GB, free: 138.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004261/0.8177, allocations: 0.948 MB / 0.5315 GB, free: 138.1 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 (164): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006848/0.8184, allocations: 234.7 kB / 0.5317 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00655/0.825, allocations: 3.978 MB / 0.5356 GB, free: 137.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.825, allocations: 1.062 kB / 0.5356 GB, free: 137.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003976/0.829, allocations: 2.709 MB / 0.5382 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/0.8332, allocations: 0.8623 MB / 0.5391 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.8504, allocations: 11.29 MB / 0.5501 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/0.8535, allocations: 3.527 MB / 0.5535 GB, free: 128.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002464/0.856, allocations: 0.7644 MB / 0.5543 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.8565, allocations: 195.5 kB / 0.5545 GB, free: 128.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8565, allocations: 0 / 0.5545 GB, free: 128.6 MB / 446.1 MB Notification: Performance of Templates: time 0.06455/0.921, allocations: 47.31 MB / 0.6007 GB, free: 89.5 MB / 446.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","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches