Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001502/0.001502, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 225.2 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1458, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01489/0.1608, allocations: 12.81 MB / 341.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009425/0.1702, allocations: 4.238 MB / 345.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.173, allocations: 67.62 kB / 345.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.1758, allocations: 0.9626 MB / 346.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.1802, allocations: 1.18 MB / 348 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.1817, allocations: 0.5227 MB / 348.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006306/0.188, allocations: 4.701 MB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004123/0.1921, allocations: 3.595 MB / 356.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.1967, allocations: 2.108 MB / 358.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/0.2018, allocations: 2.561 MB / 361.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009859/0.2028, allocations: 0.5508 MB / 362 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.2044, allocations: 0.6444 MB / 362.7 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.206, allocations: 1.523 MB / 364.2 MB, free: 104 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.2092, allocations: 2.478 MB / 366.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00779/0.217, allocations: 7.415 MB / 374.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2171, allocations: 0 / 374.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2171, allocations: 0 / 374.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002077/0.2173, allocations: 0 / 374.1 MB, free: 6.176 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.01143/0.2288, allocations: 4.691 MB / 378.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.2288, allocations: 8.031 kB / 378.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.2304, allocations: 0.4995 MB / 379.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2172/0.4477, allocations: 2.398 MB / 381.7 MB, free: 48.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004428/0.4482, allocations: 265.6 kB / 381.9 MB, free: 48.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/0.4504, allocations: 354.7 kB / 382.3 MB, free: 48.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.4649, allocations: 5.015 MB / 387.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.465, allocations: 10.83 kB / 387.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003696/0.4654, allocations: 147.8 kB / 387.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/0.4657, allocations: 181.6 kB / 387.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009146/0.4748, allocations: 4.298 MB / 391.9 MB, free: 45.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.4999, allocations: 14.74 MB / 406.7 MB, free: 34.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.5036, allocations: 4.192 MB / 410.9 MB, free: 29.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.5062, allocations: 1.997 MB / 412.9 MB, free: 27.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.5065, allocations: 134.9 kB / 413 MB, free: 27.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5065, allocations: 56.56 kB / 413.1 MB, free: 27.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.559e-06/0.5065, allocations: 0 / 413.1 MB, free: 27.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01857/0.5251, allocations: 10 MB / 423.1 MB, free: 17.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5252, allocations: 73.41 kB / 423.1 MB, free: 17.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.5292, allocations: 2.51 MB / 425.6 MB, free: 15.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.5295, allocations: 61.7 kB / 425.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009216/0.5304, allocations: 1.622 MB / 427.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.531, allocations: 0.7306 MB / 428 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.5316, allocations: 420.2 kB / 428.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.5317, allocations: 305.1 kB / 428.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.5334, allocations: 1.301 MB / 430.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.5353, allocations: 1.782 MB / 431.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.5391, allocations: 3.212 MB / 435.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.5392, allocations: 4 kB / 435.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006762/0.5459, allocations: 4.068 MB / 439.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.546, allocations: 20 kB / 439.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-05/0.546, allocations: 14.41 kB / 439.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.5486, allocations: 0.881 MB / 440 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.5509, allocations: 0.5306 MB / 440.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.5627, allocations: 9.478 MB / 450 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.5657, allocations: 115.8 kB / 450.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/0.566, allocations: 87.98 kB / 450.2 MB, free: 5.562 MB / 334.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.003174/0.5692, allocations: 1.219 MB / 451.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/0.5702, allocations: 272.7 kB / 451.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007051/0.5773, allocations: 3.719 MB / 455.5 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.5774, allocations: 24 kB / 455.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.5774, allocations: 4 kB / 455.5 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.5774, allocations: 15.95 kB / 455.5 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.5932, allocations: 8.022 MB / 463.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.5932, allocations: 0 / 463.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.595, allocations: 391.8 kB / 463.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/0.5981, allocations: 0.9292 MB / 464.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.5984, allocations: 55.97 kB / 464.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.6113, allocations: 11.05 MB / 475.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.6114, allocations: 11.88 kB / 475.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009865/0.6213, allocations: 5.504 MB / 481.5 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/0.6238, allocations: 0.6345 MB / 482.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/0.6243, allocations: 52.08 kB / 482.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.6259, allocations: 123.8 kB / 482.3 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/0.6264, allocations: 173.7 kB / 482.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.6265, allocations: 55.98 kB / 482.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002938/0.6295, allocations: 1.736 MB / 484.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6295, allocations: 4 kB / 484.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002912/0.6324, allocations: 0.7955 MB / 485 MB, free: 2.027 MB / 366.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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0006187/0.633, allocations: 242 kB / 485.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006698/0.6397, allocations: 3.897 MB / 489.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.6398, allocations: 0 / 489.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004154/0.6439, allocations: 2.472 MB / 491.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/0.6482, allocations: 0.7748 MB / 492.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.6639, allocations: 7.74 MB / 0.4884 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/0.6668, allocations: 2.776 MB / 0.4911 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002625/0.6695, allocations: 0.6827 MB / 0.4918 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/0.6702, allocations: 183.4 kB / 0.492 GB, free: 15.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6702, allocations: 3.938 kB / 0.492 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Templates: time 0.08651/0.7567, allocations: 43.74 MB / 0.5347 GB, free: 3.273 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches