Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001337, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3055, allocations: 50.54 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01343/0.319, allocations: 12.9 MB / 422.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009127/0.3282, allocations: 4.253 MB / 426.4 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.3311, allocations: 79.69 kB / 426.5 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.3341, allocations: 0.9703 MB / 427.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004832/0.339, allocations: 1.188 MB / 428.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3404, allocations: 0.5188 MB / 429.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006115/0.3466, allocations: 4.656 MB / 433.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.3508, allocations: 3.69 MB / 437.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.3546, allocations: 2.125 MB / 439.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004352/0.3589, allocations: 2.565 MB / 442.2 MB, free: 464 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.36, allocations: 0.5547 MB / 442.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.3615, allocations: 0.6522 MB / 443.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.3631, allocations: 1.519 MB / 444.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.3658, allocations: 2.489 MB / 447.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007609/0.3734, allocations: 7.459 MB / 454.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3735, allocations: 4 kB / 454.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3735, allocations: 0 / 454.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.3736, allocations: 0 / 454.9 MB, free: 3.734 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01005/0.3837, allocations: 4.831 MB / 459.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3838, allocations: 8.031 kB / 459.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.3859, allocations: 0.5526 MB / 460.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007606/0.3935, allocations: 2.608 MB / 462.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.3938, allocations: 263 kB / 463.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007667/0.3945, allocations: 355.9 kB / 463.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009255/0.4038, allocations: 5.029 MB / 468.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.4039, allocations: 11.95 kB / 468.5 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.4044, allocations: 144 kB / 468.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/0.4046, allocations: 179.1 kB / 468.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008542/0.4131, allocations: 4.298 MB / 473.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/0.44, allocations: 14.76 MB / 487.9 MB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004611/0.4446, allocations: 4.194 MB / 492.1 MB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.4479, allocations: 1.987 MB / 494.1 MB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.4482, allocations: 143 kB / 494.2 MB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4483, allocations: 52.56 kB / 494.3 MB, free: 11.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.448e-06/0.4483, allocations: 3.984 kB / 494.3 MB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01935/0.4676, allocations: 10.01 MB / 0.4925 GB, free: 1.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.4677, allocations: 81.41 kB / 0.4925 GB, free: 1.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/0.4725, allocations: 2.518 MB / 0.495 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.4727, allocations: 61.7 kB / 0.4951 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.474, allocations: 1.658 MB / 0.4967 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.4747, allocations: 0.7668 MB / 0.4974 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008349/0.4756, allocations: 420.4 kB / 0.4978 GB, free: 11.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.4757, allocations: 301.1 kB / 0.4981 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.4778, allocations: 1.308 MB / 0.4994 GB, free: 10.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.4802, allocations: 1.775 MB / 0.5011 GB, free: 8.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/0.4849, allocations: 3.215 MB / 0.5043 GB, free: 4.805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.485, allocations: 4 kB / 0.5043 GB, free: 4.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007255/0.4922, allocations: 4.088 MB / 0.5083 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4923, allocations: 12 kB / 0.5083 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.4923, allocations: 12 kB / 0.5083 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.4951, allocations: 0.876 MB / 0.5091 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.4971, allocations: 0.5227 MB / 0.5097 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.508, allocations: 9.486 MB / 0.5189 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.5101, allocations: 123.9 kB / 0.519 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003388/0.5104, allocations: 84 kB / 0.5191 GB, free: 5.145 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002286/0.5127, allocations: 1.219 MB / 0.5203 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007184/0.5134, allocations: 294.1 kB / 0.5206 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/0.5202, allocations: 3.715 MB / 0.5242 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.5202, allocations: 20 kB / 0.5242 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.5202, allocations: 8 kB / 0.5242 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.5203, allocations: 11.95 kB / 0.5243 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.5357, allocations: 8.021 MB / 0.5321 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.5358, allocations: 4 kB / 0.5321 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.5376, allocations: 387.8 kB / 0.5325 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/0.541, allocations: 0.9291 MB / 0.5334 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003287/0.5413, allocations: 59.97 kB / 0.5334 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2361/0.7774, allocations: 11.09 MB / 0.5443 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.7774, allocations: 5.094 kB / 0.5443 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00842/0.7859, allocations: 5.528 MB / 0.5497 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.7877, allocations: 0.6403 MB / 0.5503 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005436/0.7882, allocations: 53.33 kB / 0.5503 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.7898, allocations: 114 kB / 0.5504 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/0.7904, allocations: 179.1 kB / 0.5506 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/0.7907, allocations: 64.56 kB / 0.5507 GB, free: 117.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002434/0.7932, allocations: 1.743 MB / 0.5524 GB, free: 116.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7932, allocations: 0 / 0.5524 GB, free: 116.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002877/0.7961, allocations: 0.7975 MB / 0.5532 GB, free: 116.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007937/0.7969, allocations: 244.8 kB / 0.5534 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00618/0.8031, allocations: 3.902 MB / 0.5572 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.8031, allocations: 0 / 0.5572 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/0.8071, allocations: 2.492 MB / 0.5596 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005656/0.8128, allocations: 0.7878 MB / 0.5604 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.8286, allocations: 7.859 MB / 0.5681 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/0.8322, allocations: 2.781 MB / 0.5708 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002907/0.8351, allocations: 0.679 MB / 0.5715 GB, free: 101.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009318/0.8361, allocations: 179.4 kB / 0.5716 GB, free: 101.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/0.8361, allocations: 0 / 0.5716 GB, free: 101.1 MB / 462.1 MB Notification: Performance of Templates: time 0.06555/0.9017, allocations: 44.7 MB / 0.6153 GB, free: 56.83 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches