Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001816/0.001816, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002171/0.002171, allocations: 208 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.7 MB, free: 10.27 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 73.38 kB / 307.9 MB, free: 472 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 50.53 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01579/0.118, allocations: 12.89 MB / 371.3 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1528/0.2708, allocations: 4.254 MB / 375.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.2728, allocations: 80.69 kB / 375.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.2751, allocations: 0.975 MB / 376.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.2784, allocations: 1.187 MB / 377.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.2796, allocations: 0.5227 MB / 378.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004618/0.2842, allocations: 4.625 MB / 383 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003822/0.2881, allocations: 3.691 MB / 386.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.2919, allocations: 2.126 MB / 388.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.2958, allocations: 2.561 MB / 391.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.2971, allocations: 0.5522 MB / 391.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.2991, allocations: 0.6557 MB / 392.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.3004, allocations: 1.523 MB / 394.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003071/0.3035, allocations: 2.49 MB / 396.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007026/0.3106, allocations: 7.368 MB / 403.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3106, allocations: 0 / 403.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3106, allocations: 0 / 403.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001786/0.3108, allocations: 3.938 kB / 403.9 MB, free: 11.86 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.01069/0.3215, allocations: 4.716 MB / 408.7 MB, free: 7.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3215, allocations: 8.031 kB / 408.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.3233, allocations: 0.5268 MB / 409.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/0.328, allocations: 2.513 MB / 411.7 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.3283, allocations: 270 kB / 412 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006348/0.3289, allocations: 354.2 kB / 412.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009491/0.3384, allocations: 5.017 MB / 417.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-05/0.3385, allocations: 15.83 kB / 417.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003805/0.3389, allocations: 145.1 kB / 417.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3391, allocations: 187.1 kB / 417.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008394/0.3475, allocations: 4.291 MB / 422 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02641/0.374, allocations: 14.89 MB / 436.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005155/0.3792, allocations: 4.208 MB / 441.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/0.3827, allocations: 1.988 MB / 443 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.383, allocations: 137.2 kB / 443.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.3831, allocations: 56.56 kB / 443.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.759e-06/0.3831, allocations: 0 / 443.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02179/0.4049, allocations: 9.956 MB / 453.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.405, allocations: 73.41 kB / 453.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.4092, allocations: 2.514 MB / 455.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.4095, allocations: 65.7 kB / 455.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.411, allocations: 1.626 MB / 457.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/0.4119, allocations: 0.7245 MB / 458.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007481/0.4127, allocations: 420.3 kB / 458.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4128, allocations: 301.1 kB / 458.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.4151, allocations: 1.297 MB / 460.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.4178, allocations: 1.786 MB / 462 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/0.4229, allocations: 3.214 MB / 465.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.4229, allocations: 4 kB / 465.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007932/0.4309, allocations: 4.075 MB / 469.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4309, allocations: 8 kB / 469.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.431, allocations: 15.98 kB / 469.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.4339, allocations: 0.8873 MB / 470.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.4364, allocations: 0.5227 MB / 470.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.4482, allocations: 9.49 MB / 480.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.4503, allocations: 115.8 kB / 480.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.4506, allocations: 91.94 kB / 480.4 MB, free: 13.74 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.002244/0.4528, allocations: 1.212 MB / 481.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006453/0.4535, allocations: 272.7 kB / 481.9 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006946/0.4604, allocations: 3.722 MB / 485.6 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.4605, allocations: 20 kB / 485.6 MB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.4605, allocations: 8 kB / 485.6 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.4605, allocations: 7.969 kB / 485.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.4754, allocations: 8.096 MB / 493.7 MB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.4754, allocations: 3.938 kB / 493.7 MB, free: 300 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/0.4772, allocations: 383.4 kB / 494.1 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003217/0.4804, allocations: 0.9331 MB / 495 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.4806, allocations: 55.97 kB / 495.1 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.4939, allocations: 11.11 MB / 0.4943 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.494, allocations: 0 / 0.4943 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009704/0.5037, allocations: 5.51 MB / 0.4997 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.5054, allocations: 0.6265 MB / 0.5003 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/0.5058, allocations: 51.98 kB / 0.5004 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.5073, allocations: 115.9 kB / 0.5005 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.5077, allocations: 185.7 kB / 0.5007 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.5079, allocations: 63.98 kB / 0.5007 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002905/0.5108, allocations: 1.739 MB / 0.5024 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5108, allocations: 0 / 0.5024 GB, free: 10.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002615/0.5135, allocations: 0.7969 MB / 0.5032 GB, free: 10.07 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.00059/0.5141, allocations: 246.7 kB / 0.5034 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.5255, allocations: 5.708 MB / 0.509 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5255, allocations: 0 / 0.509 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004312/0.5298, allocations: 2.481 MB / 0.5114 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/0.5335, allocations: 0.7885 MB / 0.5122 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.5474, allocations: 7.84 MB / 0.5199 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/0.5503, allocations: 2.731 MB / 0.5225 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009545/0.5513, allocations: 191.4 kB / 0.5227 GB, free: 5.887 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5513, allocations: 0 / 0.5227 GB, free: 5.887 MB / 446.1 MB Notification: Performance of Templates: time 0.2544/0.8057, allocations: 142.1 MB / 0.6615 GB, free: 23.68 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches