Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 112.4 kB / 16.62 MB, free: 6.812 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.0009665/0.0009666, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 58.42 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09884, allocations: 49.44 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01634/0.1152, allocations: 12.76 MB / 362.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1255, allocations: 4.136 MB / 366.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.1282, allocations: 75.62 kB / 366.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.1314, allocations: 0.8587 MB / 367.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.1352, allocations: 1.069 MB / 368.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1366, allocations: 459.5 kB / 368.9 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1695/0.3062, allocations: 4.613 MB / 373.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/0.3098, allocations: 3.694 MB / 377.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.3133, allocations: 2.126 MB / 379.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.3165, allocations: 2.626 MB / 382 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008361/0.3173, allocations: 0.5511 MB / 382.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3187, allocations: 0.6385 MB / 383.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.32, allocations: 1.521 MB / 384.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.3227, allocations: 2.486 MB / 387.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006468/0.3291, allocations: 7.346 MB / 394.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3292, allocations: 7.375 kB / 394.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3292, allocations: 0.75 kB / 394.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.3294, allocations: 0 / 394.5 MB, free: 3.371 MB / 302.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.01049/0.3399, allocations: 4.695 MB / 399.2 MB, free: 268 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3399, allocations: 6.281 kB / 399.2 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.3412, allocations: 0.4896 MB / 399.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/0.3455, allocations: 2.492 MB / 402.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.3457, allocations: 271 kB / 402.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006124/0.3464, allocations: 361.8 kB / 402.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008829/0.3552, allocations: 5.029 MB / 407.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.019e-05/0.3553, allocations: 11.47 kB / 407.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.3557, allocations: 147.1 kB / 408 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/0.3558, allocations: 179.1 kB / 408.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007255/0.3631, allocations: 4.293 MB / 412.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02441/0.3875, allocations: 14.9 MB / 427.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.3919, allocations: 4.182 MB / 431.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.3949, allocations: 1.992 MB / 433.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.3952, allocations: 139.6 kB / 433.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.3952, allocations: 56.5 kB / 433.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.138e-06/0.3953, allocations: 0 / 433.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01955/0.4148, allocations: 9.954 MB / 443.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4149, allocations: 77.34 kB / 443.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/0.4185, allocations: 2.502 MB / 446.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.4187, allocations: 61.7 kB / 446.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4198, allocations: 1.617 MB / 448 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/0.4205, allocations: 0.7335 MB / 448.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006852/0.4211, allocations: 424.2 kB / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.4212, allocations: 305.1 kB / 449.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.4232, allocations: 1.297 MB / 450.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.4255, allocations: 1.782 MB / 452.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/0.4299, allocations: 3.209 MB / 455.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.4299, allocations: 4 kB / 455.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006657/0.4365, allocations: 4.071 MB / 459.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4366, allocations: 12.47 kB / 459.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.4366, allocations: 16 kB / 459.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.4394, allocations: 0.8877 MB / 460.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.4415, allocations: 0.5227 MB / 461.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009594/0.4511, allocations: 9.494 MB / 470.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.4532, allocations: 115.9 kB / 470.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.4534, allocations: 87.98 kB / 470.9 MB, free: 7.551 MB / 382.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.002016/0.4555, allocations: 1.211 MB / 472.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/0.456, allocations: 272.7 kB / 472.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.462, allocations: 3.722 MB / 476.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.462, allocations: 24 kB / 476.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.462, allocations: 12 kB / 476.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.462, allocations: 12.05 kB / 476.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.4751, allocations: 8.073 MB / 484.2 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.4751, allocations: 0 / 484.2 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.4767, allocations: 391.8 kB / 484.6 MB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.4798, allocations: 0.9369 MB / 485.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.48, allocations: 55.97 kB / 485.6 MB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.4915, allocations: 11.09 MB / 496.7 MB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4915, allocations: 0 / 496.7 MB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008865/0.5004, allocations: 5.513 MB / 0.4904 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.502, allocations: 0.6265 MB / 0.491 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.5024, allocations: 51.98 kB / 0.4911 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.5038, allocations: 115.9 kB / 0.4912 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004649/0.5043, allocations: 181.7 kB / 0.4914 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.5044, allocations: 59.98 kB / 0.4914 GB, free: 6.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.5069, allocations: 1.727 MB / 0.4931 GB, free: 4.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.507, allocations: 4 kB / 0.4931 GB, free: 4.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002419/0.5094, allocations: 0.8046 MB / 0.4939 GB, free: 3.91 MB / 414.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.0005445/0.5099, allocations: 248.3 kB / 0.4941 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.52, allocations: 5.712 MB / 0.4997 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.52, allocations: 0 / 0.4997 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003589/0.5236, allocations: 2.475 MB / 0.5021 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/0.5273, allocations: 0.7821 MB / 0.5029 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.5401, allocations: 9.364 MB / 0.512 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.5424, allocations: 2.773 MB / 0.5148 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001985/0.5444, allocations: 0.6827 MB / 0.5154 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.545, allocations: 175.4 kB / 0.5156 GB, free: 13.5 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.545, allocations: 4 kB / 0.5156 GB, free: 13.49 MB / 446.1 MB Notification: Performance of Templates: time 0.2249/0.7699, allocations: 46.23 MB / 0.5607 GB, free: 135.7 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches