Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001313, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001197/0.001197, allocations: 185.2 kB / 19.33 MB, free: 3.758 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.381/1.381, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001243/0.001243, allocations: 55.91 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08848, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.1988/0.2873, allocations: 9.764 MB / 385.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006654/0.294, allocations: 3.141 MB / 388.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.2959, allocations: 51.03 kB / 388.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2976, allocations: 0.6664 MB / 389.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.3001, allocations: 0.8246 MB / 390.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009269/0.3011, allocations: 389 kB / 390.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.3052, allocations: 3.096 MB / 393.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.3081, allocations: 2.39 MB / 396.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.3104, allocations: 1.379 MB / 397.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.3134, allocations: 1.68 MB / 399.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007083/0.3141, allocations: 361.2 kB / 399.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.3154, allocations: 453.2 kB / 400 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.3165, allocations: 1 MB / 401 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.3185, allocations: 1.602 MB / 402.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006668/0.3252, allocations: 4.71 MB / 407.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3253, allocations: 4 kB / 407.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3253, allocations: 1.188 kB / 407.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.3254, allocations: 0 / 407.3 MB, free: 12.71 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.009223/0.3347, allocations: 3.215 MB / 410.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3347, allocations: 8.719 kB / 410.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.3359, allocations: 325 kB / 410.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.3396, allocations: 1.638 MB / 412.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.3398, allocations: 176.8 kB / 412.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004585/0.3402, allocations: 228.1 kB / 412.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005837/0.3461, allocations: 3.184 MB / 416.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.3462, allocations: 12.02 kB / 416.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.3464, allocations: 99.17 kB / 416.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.3466, allocations: 106.7 kB / 416.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.3511, allocations: 2.746 MB / 419 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3665, allocations: 9.766 MB / 428.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.3693, allocations: 2.086 MB / 430.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.3713, allocations: 1.221 MB / 432.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.3716, allocations: 118.9 kB / 432.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.3717, allocations: 43.56 kB / 432.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.887e-06/0.3717, allocations: 0 / 432.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.01809/0.3898, allocations: 7.993 MB / 440.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3899, allocations: 72.7 kB / 440.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.3925, allocations: 1.676 MB / 442 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.3926, allocations: 45.7 kB / 442 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007606/0.3934, allocations: 1.093 MB / 443.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.3938, allocations: 492.9 kB / 443.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.3943, allocations: 291.4 kB / 443.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3944, allocations: 301.1 kB / 444.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.3958, allocations: 0.9057 MB / 445.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.3975, allocations: 1.275 MB / 446.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.4006, allocations: 2.242 MB / 448.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.4006, allocations: 4 kB / 448.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005291/0.4059, allocations: 3.041 MB / 451.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.4059, allocations: 16.03 kB / 451.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.406, allocations: 8 kB / 451.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.408, allocations: 0.8445 MB / 452.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4091, allocations: 303.5 kB / 452.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.4202, allocations: 9.916 MB / 462.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.422, allocations: 99.83 kB / 462.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4221, allocations: 67.97 kB / 462.9 MB, free: 6.934 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * 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 {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001523/0.4237, allocations: 0.8097 MB / 463.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.424, allocations: 181.8 kB / 463.9 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.4288, allocations: 2.838 MB / 466.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.4288, allocations: 16 kB / 466.7 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4289, allocations: 11.94 kB / 466.8 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4289, allocations: 3.984 kB / 466.8 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/0.438, allocations: 5.661 MB / 472.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.438, allocations: 4 kB / 472.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008714/0.4389, allocations: 200 kB / 472.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.4411, allocations: 0.886 MB / 473.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.4412, allocations: 35.98 kB / 473.5 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.4531, allocations: 11.52 MB / 485.1 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4531, allocations: 7.938 kB / 485.1 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/0.4596, allocations: 4.149 MB / 489.2 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.4608, allocations: 462.7 kB / 489.7 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005606/0.4613, allocations: 39.98 kB / 489.7 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.4626, allocations: 79.91 kB / 489.8 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/0.463, allocations: 149.4 kB / 489.9 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.4631, allocations: 39.98 kB / 490 MB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.4648, allocations: 1.149 MB / 491.1 MB, free: 9.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4648, allocations: 4 kB / 491.1 MB, free: 9.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002109/0.4669, allocations: 0.5624 MB / 491.7 MB, free: 9.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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%), (9,19,33.3%), (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.0004053/0.4673, allocations: 194.2 kB / 491.9 MB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004801/0.4722, allocations: 2.999 MB / 494.9 MB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4722, allocations: 3.938 kB / 494.9 MB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.4751, allocations: 2.03 MB / 496.9 MB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.4778, allocations: 0.4911 MB / 497.4 MB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/0.4863, allocations: 5.191 MB / 0.4908 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.488, allocations: 1.989 MB / 0.4928 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.4885, allocations: 127.4 kB / 0.4929 GB, free: 12.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4885, allocations: 0 / 0.4929 GB, free: 12.07 MB / 430.1 MB Notification: Performance of Templates: time 0.2825/0.771, allocations: 92.73 MB / 0.5834 GB, free: 142.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches