Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.06 kB / 306.3 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1043, allocations: 50.53 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01547/0.1198, allocations: 12.78 MB / 369.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2008/0.3207, allocations: 4.214 MB / 373.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.324, allocations: 76.25 kB / 373.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.3272, allocations: 0.8563 MB / 374.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.3313, allocations: 1.082 MB / 375.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3328, allocations: 478.6 kB / 376.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007166/0.34, allocations: 5.324 MB / 381.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005015/0.3451, allocations: 3.063 MB / 384.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.3516, allocations: 1.828 MB / 386.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/0.3578, allocations: 2.455 MB / 388.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.3593, allocations: 342.6 kB / 389.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3616, allocations: 463.2 kB / 389.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.363, allocations: 1.289 MB / 391 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003495/0.3665, allocations: 2.241 MB / 393.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.3729, allocations: 7.181 MB / 400.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3729, allocations: 0 / 400.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.373, allocations: 0 / 400.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002033/0.3732, allocations: 0 / 400.4 MB, free: 13.2 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.01068/0.3839, allocations: 4.71 MB / 405.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3839, allocations: 12.03 kB / 405.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.3856, allocations: 0.5268 MB / 405.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.39, allocations: 2.507 MB / 408.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3902, allocations: 269.3 kB / 408.5 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/0.3908, allocations: 361.2 kB / 408.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008668/0.3994, allocations: 5.021 MB / 413.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.141e-05/0.3995, allocations: 7.906 kB / 413.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.3999, allocations: 142.2 kB / 414 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.4, allocations: 187 kB / 414.2 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007527/0.4076, allocations: 4.294 MB / 418.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.4367, allocations: 14.89 MB / 433.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005423/0.4421, allocations: 4.194 MB / 437.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/0.4458, allocations: 1.996 MB / 439.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.4462, allocations: 138.8 kB / 439.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.4463, allocations: 56.5 kB / 439.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.388e-06/0.4463, allocations: 0 / 439.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02275/0.469, allocations: 9.94 MB / 449.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.4691, allocations: 77.34 kB / 449.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/0.4738, allocations: 2.514 MB / 452.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.4741, allocations: 61.7 kB / 452.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.4753, allocations: 1.626 MB / 454 MB, free: 7.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007185/0.4761, allocations: 0.7344 MB / 454.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008757/0.477, allocations: 412.3 kB / 455.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4771, allocations: 309.1 kB / 455.4 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.4794, allocations: 1.301 MB / 456.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.482, allocations: 1.779 MB / 458.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.4872, allocations: 3.211 MB / 461.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.4872, allocations: 4 kB / 461.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007836/0.495, allocations: 4.075 MB / 465.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.4951, allocations: 8 kB / 465.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.4951, allocations: 16 kB / 465.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.4982, allocations: 0.8856 MB / 466.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.5004, allocations: 0.5227 MB / 467.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.5108, allocations: 8.742 MB / 475.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.5131, allocations: 123.8 kB / 476.1 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/0.5135, allocations: 84 kB / 476.1 MB, free: 0.707 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.002632/0.5162, allocations: 1.223 MB / 477.4 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008428/0.517, allocations: 276.7 kB / 477.6 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/0.524, allocations: 3.715 MB / 481.3 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.524, allocations: 24 kB / 481.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/0.5241, allocations: 4 kB / 481.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.5241, allocations: 7.969 kB / 481.4 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.5396, allocations: 8.09 MB / 489.5 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.5396, allocations: 4 kB / 489.5 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.5413, allocations: 379.8 kB / 489.8 MB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/0.5447, allocations: 0.9368 MB / 490.8 MB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.545, allocations: 51.97 kB / 490.8 MB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/0.5573, allocations: 10.21 MB / 0.4893 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5573, allocations: 4 kB / 0.4893 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.5679, allocations: 5.509 MB / 0.4947 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/0.57, allocations: 0.6304 MB / 0.4953 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/0.5713, allocations: 51.98 kB / 0.4953 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/0.5737, allocations: 115.9 kB / 0.4955 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006196/0.5743, allocations: 181.7 kB / 0.4956 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/0.5746, allocations: 63.98 kB / 0.4957 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004516/0.5791, allocations: 1.735 MB / 0.4974 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5792, allocations: 0 / 0.4974 GB, free: 14.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006116/0.5853, allocations: 0.8008 MB / 0.4982 GB, free: 13.96 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.0009818/0.5863, allocations: 236.4 kB / 0.4984 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007518/0.5938, allocations: 3.868 MB / 0.5022 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.5939, allocations: 4 kB / 0.5022 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004604/0.5985, allocations: 2.49 MB / 0.5046 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/0.6038, allocations: 0.7442 MB / 0.5053 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.6213, allocations: 9.37 MB / 0.5145 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004052/0.6254, allocations: 2.781 MB / 0.5172 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002798/0.6283, allocations: 0.6829 MB / 0.5179 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/0.6289, allocations: 179.4 kB / 0.518 GB, free: 9.395 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6289, allocations: 0 / 0.518 GB, free: 9.395 MB / 446.1 MB Notification: Performance of Templates: time 0.2609/0.8898, allocations: 44.68 MB / 0.5617 GB, free: 126.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches