Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 60.31 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09672, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01405/0.1108, allocations: 12.91 MB / 371.8 MB, free: 360 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1576/0.2684, allocations: 4.263 MB / 376.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.2698, allocations: 80.16 kB / 376.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2717, allocations: 0.9735 MB / 377.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.2743, allocations: 1.173 MB / 378.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2753, allocations: 0.5292 MB / 378.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00438/0.2797, allocations: 4.652 MB / 383.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003541/0.2833, allocations: 3.693 MB / 387.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.287, allocations: 2.139 MB / 389.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.2905, allocations: 2.557 MB / 391.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007555/0.2912, allocations: 0.556 MB / 392.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.2925, allocations: 0.648 MB / 393.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.2937, allocations: 1.52 MB / 394.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002538/0.2962, allocations: 2.491 MB / 397.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005539/0.3018, allocations: 7.436 MB / 404.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3018, allocations: 5.031 kB / 404.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3018, allocations: 0 / 404.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.3019, allocations: 0 / 404.5 MB, free: 12.04 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.008396/0.3103, allocations: 4.708 MB / 409.2 MB, free: 7.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3104, allocations: 8.031 kB / 409.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3118, allocations: 0.5268 MB / 409.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004687/0.3165, allocations: 2.591 MB / 412.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.3167, allocations: 278.2 kB / 412.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.3173, allocations: 350.2 kB / 413 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007645/0.3249, allocations: 5.02 MB / 418 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.236e-05/0.325, allocations: 19.78 kB / 418 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/0.3254, allocations: 145.4 kB / 418.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.3255, allocations: 183.1 kB / 418.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007084/0.3326, allocations: 4.294 MB / 422.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.3559, allocations: 14.71 MB / 437.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.3604, allocations: 4.197 MB / 441.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.3634, allocations: 1.994 MB / 443.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.3637, allocations: 132.8 kB / 443.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3637, allocations: 56.5 kB / 443.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.827e-06/0.3637, allocations: 0 / 443.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01843/0.3822, allocations: 9.959 MB / 453.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3823, allocations: 73.41 kB / 453.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.3858, allocations: 2.51 MB / 456.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.386, allocations: 61.7 kB / 456.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.3871, allocations: 1.627 MB / 458 MB, free: 5.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/0.3877, allocations: 0.7295 MB / 458.7 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006655/0.3884, allocations: 424.2 kB / 459.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.3885, allocations: 301.1 kB / 459.4 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.3904, allocations: 1.297 MB / 460.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.3926, allocations: 1.779 MB / 462.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/0.3968, allocations: 3.214 MB / 465.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.3968, allocations: 4 kB / 465.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006507/0.4033, allocations: 4.072 MB / 469.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4034, allocations: 14.53 kB / 469.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.4034, allocations: 16 kB / 469.8 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.4061, allocations: 0.8833 MB / 470.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.4081, allocations: 0.5227 MB / 471.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009764/0.4179, allocations: 9.477 MB / 480.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.4198, allocations: 119.8 kB / 480.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.42, allocations: 87.98 kB / 480.9 MB, free: 14.05 MB / 398.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.00193/0.4219, allocations: 1.223 MB / 482.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.4224, allocations: 276.7 kB / 482.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/0.4283, allocations: 3.711 MB / 486.1 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.4283, allocations: 20 kB / 486.1 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4283, allocations: 8 kB / 486.1 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.4284, allocations: 11.95 kB / 486.1 MB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.4412, allocations: 8.026 MB / 494.1 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4413, allocations: 12.03 kB / 494.2 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.4429, allocations: 387.4 kB / 494.5 MB, free: 280 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003031/0.446, allocations: 0.9174 MB / 495.5 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.4462, allocations: 59.97 kB / 495.5 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.4575, allocations: 11.1 MB / 0.4947 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4575, allocations: 0 / 0.4947 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008453/0.466, allocations: 5.511 MB / 0.5001 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.4677, allocations: 0.6304 MB / 0.5007 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.4681, allocations: 51.98 kB / 0.5008 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.4694, allocations: 115.9 kB / 0.5009 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/0.4699, allocations: 185.7 kB / 0.5011 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.47, allocations: 55.98 kB / 0.5011 GB, free: 13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.4725, allocations: 1.735 MB / 0.5028 GB, free: 11.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4725, allocations: 0 / 0.5028 GB, free: 11.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002216/0.4747, allocations: 0.8007 MB / 0.5036 GB, free: 10.45 MB / 430.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.0005223/0.4753, allocations: 244.8 kB / 0.5038 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00584/0.4811, allocations: 3.89 MB / 0.5076 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4811, allocations: 6 kB / 0.5076 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003687/0.4848, allocations: 2.483 MB / 0.5101 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/0.488, allocations: 0.7961 MB / 0.5108 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.5003, allocations: 7.746 MB / 0.5184 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/0.503, allocations: 2.774 MB / 0.5211 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002382/0.5054, allocations: 0.683 MB / 0.5218 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.506, allocations: 179.4 kB / 0.5219 GB, free: 7.441 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.506, allocations: 0 / 0.5219 GB, free: 7.441 MB / 446.1 MB Notification: Performance of Templates: time 0.245/0.7509, allocations: 43.83 MB / 0.5647 GB, free: 125.6 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches