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.001166/0.001166, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001372, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.3 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 58.34 kB / 306.9 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09719, allocations: 50.54 MB / 357.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01422/0.1115, allocations: 12.78 MB / 370.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.2915, allocations: 4.209 MB / 374.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.2933, allocations: 74.75 kB / 374.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.2956, allocations: 0.8565 MB / 375.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.299, allocations: 1.087 MB / 376.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3001, allocations: 475 kB / 376.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006364/0.3065, allocations: 5.329 MB / 382.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003797/0.3103, allocations: 3.059 MB / 385.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.315, allocations: 1.82 MB / 387.1 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.3192, allocations: 2.457 MB / 389.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000921/0.3201, allocations: 342.4 kB / 389.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.3218, allocations: 459.1 kB / 390.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3229, allocations: 1.292 MB / 391.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003/0.3259, allocations: 2.24 MB / 393.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.3304, allocations: 6.171 MB / 400.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3304, allocations: 0 / 400.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3304, allocations: 0 / 400.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001374/0.3306, allocations: 1.656 kB / 400.1 MB, free: 14.07 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.009556/0.3401, allocations: 4.704 MB / 404.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3402, allocations: 12.03 kB / 404.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.3419, allocations: 0.5306 MB / 405.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.346, allocations: 2.509 MB / 407.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.3462, allocations: 274.2 kB / 408.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/0.3468, allocations: 350.9 kB / 408.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009569/0.3564, allocations: 5.025 MB / 413.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.098e-05/0.3565, allocations: 7.906 kB / 413.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.3569, allocations: 146.9 kB / 413.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.3571, allocations: 179.1 kB / 413.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007849/0.3649, allocations: 4.302 MB / 418.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/0.3923, allocations: 14.89 MB / 433 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004914/0.3973, allocations: 4.197 MB / 437.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/0.4007, allocations: 1.992 MB / 439.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.4011, allocations: 131.1 kB / 439.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.4012, allocations: 60.56 kB / 439.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.228e-06/0.4012, allocations: 0 / 439.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02132/0.4225, allocations: 9.959 MB / 449.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4226, allocations: 77.41 kB / 449.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005066/0.4277, allocations: 2.51 MB / 451.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.428, allocations: 61.7 kB / 452 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.4294, allocations: 1.626 MB / 453.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.4302, allocations: 0.727 MB / 454.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008771/0.4311, allocations: 420.2 kB / 454.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4313, allocations: 305.1 kB / 455 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.4334, allocations: 1.301 MB / 456.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.4362, allocations: 1.778 MB / 458.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/0.4411, allocations: 3.219 MB / 461.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.4411, allocations: 4 kB / 461.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007533/0.4486, allocations: 4.069 MB / 465.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.4487, allocations: 12 kB / 465.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/0.4487, allocations: 12 kB / 465.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/0.4517, allocations: 0.8775 MB / 466.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.454, allocations: 0.5304 MB / 466.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.4643, allocations: 8.729 MB / 475.6 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.4668, allocations: 123.8 kB / 475.7 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.4672, allocations: 83.98 kB / 475.8 MB, free: 1.73 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.002611/0.4699, allocations: 1.223 MB / 477 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009147/0.4708, allocations: 276.8 kB / 477.3 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007331/0.4781, allocations: 3.744 MB / 481 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.4782, allocations: 24 kB / 481 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/0.4782, allocations: 11.94 kB / 481 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.4782, allocations: 11.95 kB / 481 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.4945, allocations: 8.085 MB / 489.1 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.4946, allocations: 7.984 kB / 489.1 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.4963, allocations: 383.8 kB / 489.5 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003334/0.4996, allocations: 0.9321 MB / 490.4 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/0.4999, allocations: 55.98 kB / 490.5 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.5118, allocations: 10.2 MB / 0.489 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5118, allocations: 0 / 0.489 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009525/0.5213, allocations: 5.511 MB / 0.4943 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/0.5232, allocations: 0.6304 MB / 0.495 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008882/0.5241, allocations: 52.08 kB / 0.495 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.526, allocations: 119.8 kB / 0.4951 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/0.5265, allocations: 185.7 kB / 0.4953 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.5267, allocations: 59.98 kB / 0.4954 GB, free: 1.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003422/0.5301, allocations: 1.743 MB / 0.4971 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5301, allocations: 192 / 0.4971 GB, free: 15.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003269/0.5334, allocations: 0.793 MB / 0.4978 GB, free: 15.09 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.0007801/0.5342, allocations: 246.6 kB / 0.4981 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006719/0.5409, allocations: 3.88 MB / 0.5019 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.541, allocations: 0 / 0.5019 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004133/0.5451, allocations: 2.477 MB / 0.5043 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/0.55, allocations: 0.7461 MB / 0.505 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.5661, allocations: 9.37 MB / 0.5142 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003419/0.5696, allocations: 2.731 MB / 0.5168 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.5707, allocations: 187.4 kB / 0.517 GB, free: 11.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5707, allocations: 0 / 0.517 GB, free: 11.25 MB / 446.1 MB Notification: Performance of Templates: time 0.2878/0.8585, allocations: 142.1 MB / 0.6558 GB, free: 27.83 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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