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.001318/0.001318, allocations: 114.4 kB / 17.28 MB, free: 6.219 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.001572/0.001572, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.953/1.953, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001354/0.001354, allocations: 43.94 kB / 280.2 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1697, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01791/0.1876, allocations: 9.688 MB / 336.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.2, allocations: 3.098 MB / 339.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004162/0.2042, allocations: 39.81 kB / 339.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.2084, allocations: 0.5866 MB / 340.2 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.2132, allocations: 0.7422 MB / 340.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.215, allocations: 347.7 kB / 341.3 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00614/0.2211, allocations: 3.097 MB / 344.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.2248, allocations: 2.392 MB / 346.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.2284, allocations: 1.382 MB / 348.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/0.2332, allocations: 1.728 MB / 349.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.2349, allocations: 360 kB / 350.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.2373, allocations: 459.8 kB / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.2387, allocations: 0.9973 MB / 351.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003588/0.2423, allocations: 1.602 MB / 353.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/0.2488, allocations: 4.665 MB / 358 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.2489, allocations: 0 / 358 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2489, allocations: 3.938 kB / 358 MB, free: 5.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001664/0.2491, allocations: 0 / 358 MB, free: 5.453 MB / 302.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.01181/0.2609, allocations: 3.21 MB / 361.2 MB, free: 2.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.226e-05/0.261, allocations: 11.97 kB / 361.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.2627, allocations: 317.4 kB / 361.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.2674, allocations: 1.627 MB / 363.1 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.2677, allocations: 177 kB / 363.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.2688, allocations: 239.8 kB / 363.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009355/0.2782, allocations: 3.18 MB / 366.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/0.2783, allocations: 11.98 kB / 366.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.2786, allocations: 92 kB / 366.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.2787, allocations: 96.44 kB / 366.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005755/0.2845, allocations: 2.746 MB / 369.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3446/0.6291, allocations: 9.872 MB / 379.5 MB, free: 48.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005761/0.635, allocations: 2.096 MB / 381.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/0.6385, allocations: 1.196 MB / 382.8 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.6391, allocations: 124.9 kB / 382.9 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.203e-05/0.6393, allocations: 45.28 kB / 383 MB, free: 48.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 7.053e-06/0.6393, allocations: 0 / 383 MB, free: 48.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.03029/0.6696, allocations: 8 MB / 391 MB, free: 45.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.6697, allocations: 67.5 kB / 391 MB, free: 45.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006082/0.6758, allocations: 1.681 MB / 392.7 MB, free: 44.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004698/0.6764, allocations: 47.2 kB / 392.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.6775, allocations: 1.091 MB / 393.9 MB, free: 43.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007558/0.6783, allocations: 483.1 kB / 394.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007362/0.679, allocations: 302 kB / 394.6 MB, free: 43.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6791, allocations: 301.1 kB / 394.9 MB, free: 43.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.681, allocations: 0.9079 MB / 395.8 MB, free: 42.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.6827, allocations: 1.269 MB / 397.1 MB, free: 41.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.6861, allocations: 2.25 MB / 399.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.6862, allocations: 2.656 kB / 399.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005888/0.6921, allocations: 3.044 MB / 402.4 MB, free: 38.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.6921, allocations: 11.38 kB / 402.4 MB, free: 38.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.6922, allocations: 11.12 kB / 402.4 MB, free: 38.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.6944, allocations: 0.8494 MB / 403.3 MB, free: 38.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6956, allocations: 307.5 kB / 403.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.7069, allocations: 9.929 MB / 413.5 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.7095, allocations: 95.91 kB / 413.6 MB, free: 27.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.7096, allocations: 59.98 kB / 413.6 MB, free: 27.73 MB / 318.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.002246/0.7119, allocations: 0.8135 MB / 414.5 MB, free: 26.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/0.7124, allocations: 181.8 kB / 414.6 MB, free: 26.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.7169, allocations: 2.834 MB / 417.5 MB, free: 23.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.7169, allocations: 12 kB / 417.5 MB, free: 23.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.7169, allocations: 8 kB / 417.5 MB, free: 23.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.717, allocations: 7.969 kB / 417.5 MB, free: 23.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/0.7267, allocations: 5.69 MB / 423.2 MB, free: 18.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.7268, allocations: 3.938 kB / 423.2 MB, free: 18.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008457/0.7277, allocations: 195.7 kB / 423.4 MB, free: 17.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.73, allocations: 0.8938 MB / 424.3 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.7301, allocations: 39.27 kB / 424.3 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.7427, allocations: 11.54 MB / 435.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.7428, allocations: 7.938 kB / 435.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007465/0.7502, allocations: 4.136 MB / 440 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.752, allocations: 466.7 kB / 440.4 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008885/0.7529, allocations: 32 kB / 440.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.754, allocations: 79.91 kB / 440.6 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000655/0.7547, allocations: 149 kB / 440.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.7548, allocations: 39.98 kB / 440.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002434/0.7572, allocations: 1.153 MB / 441.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7572, allocations: 0 / 441.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003135/0.7604, allocations: 0.5612 MB / 442.5 MB, free: 14.18 MB / 334.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.0006009/0.761, allocations: 191.5 kB / 442.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00686/0.7679, allocations: 3.645 MB / 446.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.7679, allocations: 0 / 446.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.7714, allocations: 2.028 MB / 448.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/0.7746, allocations: 0.5048 MB / 448.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.7852, allocations: 6.221 MB / 455 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/0.7874, allocations: 2.02 MB / 457.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001732/0.7891, allocations: 403.3 kB / 457.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.7895, allocations: 115.4 kB / 457.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 2.355e-06/0.7895, allocations: 4 kB / 457.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Templates: time 0.08272/0.8722, allocations: 32.66 MB / 490.2 MB, free: 14.16 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","../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