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.001073/0.001073, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.00118/0.00118, allocations: 192 kB / 18.62 MB, free: 4.434 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.299/1.299, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001009, allocations: 55.11 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1007, allocations: 49.43 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01515/0.1159, allocations: 12.87 MB / 364.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.127, allocations: 4.202 MB / 368.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.1297, allocations: 75.69 kB / 368.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.1329, allocations: 0.9587 MB / 369.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.1371, allocations: 1.184 MB / 370.8 MB, free: 324 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1894/0.3265, allocations: 0.506 MB / 371.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008342/0.3349, allocations: 4.638 MB / 375.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008031/0.343, allocations: 3.691 MB / 379.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005844/0.3489, allocations: 2.122 MB / 381.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006051/0.3549, allocations: 2.558 MB / 384.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.3572, allocations: 0.5526 MB / 384.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/0.3608, allocations: 0.6423 MB / 385.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.3639, allocations: 1.525 MB / 387 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006211/0.3701, allocations: 2.482 MB / 389.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009598/0.3797, allocations: 7.41 MB / 396.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.3798, allocations: 0 / 396.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3798, allocations: 0 / 396.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003402/0.3801, allocations: 0 / 396.9 MB, free: 3.094 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.01346/0.3936, allocations: 4.702 MB / 401.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3937, allocations: 8.031 kB / 401.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.3957, allocations: 0.4917 MB / 402.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.4017, allocations: 2.574 MB / 404.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.4019, allocations: 262.6 kB / 404.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009286/0.4028, allocations: 355.6 kB / 405.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.4141, allocations: 5.028 MB / 410.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.4143, allocations: 7.844 kB / 410.3 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007018/0.415, allocations: 147 kB / 410.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/0.4152, allocations: 183 kB / 410.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009326/0.4245, allocations: 4.298 MB / 415 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.4553, allocations: 14.71 MB / 429.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.4607, allocations: 4.195 MB / 433.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/0.4641, allocations: 2 MB / 435.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.4645, allocations: 130.8 kB / 436 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.4645, allocations: 56.56 kB / 436 MB, free: 12.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.617e-06/0.4645, allocations: 4 kB / 436 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01998/0.4845, allocations: 9.94 MB / 446 MB, free: 2.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4846, allocations: 73.41 kB / 446.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/0.4885, allocations: 2.506 MB / 448.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.4888, allocations: 65.7 kB / 448.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.4901, allocations: 1.617 MB / 450.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007477/0.4909, allocations: 0.7312 MB / 451 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/0.4916, allocations: 416.2 kB / 451.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4917, allocations: 305.1 kB / 451.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.4938, allocations: 1.301 MB / 453 MB, free: 11.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.4961, allocations: 1.777 MB / 454.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/0.5007, allocations: 3.21 MB / 458 MB, free: 5.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.5007, allocations: 4 kB / 458 MB, free: 5.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007266/0.508, allocations: 4.071 MB / 462 MB, free: 1.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.508, allocations: 12 kB / 462.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-05/0.5081, allocations: 12 kB / 462.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/0.5108, allocations: 0.892 MB / 463 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.513, allocations: 0.5227 MB / 463.5 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.5238, allocations: 9.473 MB / 473 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.526, allocations: 115.9 kB / 473.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.5263, allocations: 84 kB / 473.1 MB, free: 6.309 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.002172/0.5285, allocations: 1.22 MB / 474.4 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.5291, allocations: 272.7 kB / 474.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/0.5353, allocations: 3.722 MB / 478.4 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5354, allocations: 20 kB / 478.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5354, allocations: 12 kB / 478.4 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.5354, allocations: 7.969 kB / 478.4 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.5496, allocations: 8.015 MB / 486.4 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5497, allocations: 4 kB / 486.4 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.5513, allocations: 383.6 kB / 486.8 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/0.5543, allocations: 0.9329 MB / 487.7 MB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.5545, allocations: 55.98 kB / 487.8 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.566, allocations: 11.09 MB / 498.9 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5661, allocations: 4 kB / 498.9 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008411/0.5745, allocations: 5.5 MB / 0.4926 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.5763, allocations: 0.6265 MB / 0.4932 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.5768, allocations: 56.17 kB / 0.4932 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.5781, allocations: 115.9 kB / 0.4933 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.5786, allocations: 189.6 kB / 0.4935 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.5787, allocations: 63.98 kB / 0.4936 GB, free: 5.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002549/0.5813, allocations: 1.723 MB / 0.4953 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5813, allocations: 3.938 kB / 0.4953 GB, free: 3.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002648/0.5839, allocations: 0.8085 MB / 0.496 GB, free: 2.723 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.000562/0.5845, allocations: 238.8 kB / 0.4963 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005814/0.5903, allocations: 3.891 MB / 0.5001 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5904, allocations: 0 / 0.5001 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.5942, allocations: 2.476 MB / 0.5025 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.5976, allocations: 0.7829 MB / 0.5033 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.6099, allocations: 7.741 MB / 0.5108 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/0.6124, allocations: 2.769 MB / 0.5135 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00198/0.6144, allocations: 0.6866 MB / 0.5142 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005563/0.615, allocations: 179.4 kB / 0.5144 GB, free: 15.75 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.615, allocations: 0 / 0.5144 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Templates: time 0.2247/0.8397, allocations: 43.76 MB / 0.5571 GB, free: 138.6 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 -s cvode -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/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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches