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.001093/0.001093, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001159/0.001159, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.315/1.315, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009751/0.0009751, allocations: 54.7 kB / 301.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.0927, allocations: 49.44 MB / 350.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0131/0.1058, allocations: 12.89 MB / 363.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.1138, allocations: 4.183 MB / 367.8 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.1158, allocations: 79.69 kB / 367.9 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.1182, allocations: 0.9665 MB / 368.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.1216, allocations: 1.177 MB / 370 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1227, allocations: 0.5149 MB / 370.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1591/0.2818, allocations: 4.604 MB / 375.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003977/0.2858, allocations: 3.695 MB / 378.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004301/0.2901, allocations: 2.104 MB / 380.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.2943, allocations: 2.559 MB / 383.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.2954, allocations: 0.5515 MB / 384.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2971, allocations: 0.6432 MB / 384.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.2985, allocations: 1.518 MB / 386.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003285/0.3018, allocations: 2.486 MB / 388.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3119, allocations: 7.344 MB / 396 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.312, allocations: 0 / 396 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.312, allocations: 0 / 396 MB, free: 3.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002736/0.3123, allocations: 0 / 396 MB, free: 3.09 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.01616/0.3284, allocations: 4.694 MB / 400.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3285, allocations: 12.03 kB / 400.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.3309, allocations: 0.4949 MB / 401.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007253/0.3382, allocations: 2.49 MB / 403.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.3386, allocations: 263.1 kB / 404 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.3398, allocations: 363.7 kB / 404.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.3533, allocations: 5.027 MB / 409.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.3534, allocations: 11.89 kB / 409.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.3538, allocations: 143.9 kB / 409.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.354, allocations: 183.1 kB / 409.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.3666, allocations: 4.297 MB / 414 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03781/0.4044, allocations: 14.9 MB / 428.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/0.4112, allocations: 4.183 MB / 433.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.4158, allocations: 1.989 MB / 435.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.4161, allocations: 135.1 kB / 435.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.4161, allocations: 56.56 kB / 435.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 5.711e-06/0.4161, allocations: 5.484 kB / 435.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02032/0.4365, allocations: 9.952 MB / 445.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.4366, allocations: 73.41 kB / 445.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.4405, allocations: 2.498 MB / 447.8 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000306/0.4409, allocations: 61.7 kB / 447.9 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.4421, allocations: 1.623 MB / 449.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006545/0.4428, allocations: 0.7312 MB / 450.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006774/0.4435, allocations: 424.2 kB / 450.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.4436, allocations: 301.1 kB / 450.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.4455, allocations: 1.297 MB / 452.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.4478, allocations: 1.785 MB / 454 MB, free: 9.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/0.4522, allocations: 3.207 MB / 457.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.4522, allocations: 4 kB / 457.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006984/0.4592, allocations: 4.075 MB / 461.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.4592, allocations: 12 kB / 461.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.4593, allocations: 16.47 kB / 461.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.462, allocations: 0.8885 MB / 462.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.4642, allocations: 0.5344 MB / 462.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.4745, allocations: 9.486 MB / 472.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.477, allocations: 115.9 kB / 472.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/0.4773, allocations: 87.98 kB / 472.4 MB, free: 6.785 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.002232/0.4796, allocations: 1.208 MB / 473.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.4802, allocations: 272.7 kB / 473.9 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006207/0.4864, allocations: 3.721 MB / 477.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.4865, allocations: 20 kB / 477.6 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4865, allocations: 12 kB / 477.6 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.4865, allocations: 11.95 kB / 477.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.5003, allocations: 8.076 MB / 485.7 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.5003, allocations: 4 kB / 485.7 MB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.502, allocations: 387.8 kB / 486.1 MB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/0.505, allocations: 0.9368 MB / 487.1 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.5052, allocations: 59.91 kB / 487.1 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.5165, allocations: 11.1 MB / 498.2 MB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5165, allocations: 7.938 kB / 498.2 MB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008763/0.5253, allocations: 5.499 MB / 0.4919 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.527, allocations: 0.6344 MB / 0.4925 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/0.5276, allocations: 55.92 kB / 0.4926 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.529, allocations: 115.9 kB / 0.4927 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004331/0.5295, allocations: 173.7 kB / 0.4929 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.5296, allocations: 59.98 kB / 0.4929 GB, free: 5.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002703/0.5323, allocations: 1.731 MB / 0.4946 GB, free: 3.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5324, allocations: 0 / 0.4946 GB, free: 3.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00277/0.5351, allocations: 0.8085 MB / 0.4954 GB, free: 3.137 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.0006897/0.5358, allocations: 232.7 kB / 0.4956 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.5472, allocations: 5.712 MB / 0.5012 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.5473, allocations: 7.938 kB / 0.5012 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.5516, allocations: 2.476 MB / 0.5036 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/0.556, allocations: 0.7762 MB / 0.5044 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.5702, allocations: 7.839 MB / 0.512 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/0.5731, allocations: 2.72 MB / 0.5147 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009854/0.5741, allocations: 191.4 kB / 0.5149 GB, free: 14.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5741, allocations: 0 / 0.5149 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Templates: time 0.2965/0.8706, allocations: 141.6 MB / 0.6532 GB, free: 40.96 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/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