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.001032/0.001032, allocations: 96.02 kB / 16.94 MB, free: 6.441 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.0009823/0.0009823, allocations: 183.6 kB / 17.83 MB, free: 6.012 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.86/1.86, allocations: 205.4 MB / 224 MB, free: 13.18 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.000536/0.0005363, allocations: 8 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.142, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01031/0.1523, allocations: 7.898 MB / 336.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.1602, allocations: 3.042 MB / 339.3 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.1622, allocations: 39.81 kB / 339.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.1643, allocations: 0.548 MB / 339.9 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.1672, allocations: 0.697 MB / 340.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.1682, allocations: 235.7 kB / 340.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.1719, allocations: 1.965 MB / 342.8 MB, free: 5.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.1741, allocations: 1.555 MB / 344.3 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.1763, allocations: 0.9497 MB / 345.3 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.1783, allocations: 1.191 MB / 346.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.1786, allocations: 152 kB / 346.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.1794, allocations: 219.9 kB / 346.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007385/0.1802, allocations: 0.705 MB / 347.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006629/0.1808, allocations: 0.551 MB / 348.1 MB, free: 260 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.1846, allocations: 3.732 MB / 351.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1847, allocations: 0 / 351.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1847, allocations: 4 kB / 351.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001399/0.1848, allocations: 0 / 351.8 MB, free: 12.51 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.007434/0.1923, allocations: 2.746 MB / 354.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.1923, allocations: 8.031 kB / 354.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.1937, allocations: 320.4 kB / 354.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/0.1974, allocations: 1.58 MB / 356.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.1976, allocations: 176.5 kB / 356.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.1979, allocations: 235.9 kB / 356.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006674/0.2046, allocations: 3.157 MB / 360 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/0.2048, allocations: 4 kB / 360 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.205, allocations: 99.95 kB / 360.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.2052, allocations: 104.4 kB / 360.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005584/0.2108, allocations: 2.746 MB / 363 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.2302, allocations: 9.903 MB / 372.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.2335, allocations: 2.103 MB / 375 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.2339, allocations: 122.1 kB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.234, allocations: 47.5 kB / 375.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 8.766e-06/0.234, allocations: 3.984 kB / 375.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.2478/0.4818, allocations: 8.098 MB / 383.2 MB, free: 49.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.4819, allocations: 70.66 kB / 383.3 MB, free: 49.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.4847, allocations: 1.626 MB / 384.9 MB, free: 49.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.4848, allocations: 50.33 kB / 385 MB, free: 48.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000803/0.4856, allocations: 1.088 MB / 386.1 MB, free: 48.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.486, allocations: 480.3 kB / 386.5 MB, free: 47.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.4861, allocations: 35 kB / 386.6 MB, free: 47.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4863, allocations: 366.3 kB / 386.9 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4881, allocations: 0.9186 MB / 387.8 MB, free: 47.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.4901, allocations: 1.271 MB / 389.1 MB, free: 46.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.4923, allocations: 1.079 MB / 390.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.4923, allocations: 2.75 kB / 390.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006536/0.4988, allocations: 3.07 MB / 393.3 MB, free: 44.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.4989, allocations: 8.344 kB / 393.3 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4989, allocations: 15.75 kB / 393.3 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.5009, allocations: 0.827 MB / 394.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5021, allocations: 308.2 kB / 394.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.5116, allocations: 9.329 MB / 403.7 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5133, allocations: 105.3 kB / 403.9 MB, free: 37.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.5135, allocations: 60.45 kB / 403.9 MB, free: 37.61 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 (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 initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001662/0.5151, allocations: 0.8109 MB / 404.7 MB, free: 37.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.5155, allocations: 180.5 kB / 404.9 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.5196, allocations: 2.872 MB / 407.8 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.5197, allocations: 16.66 kB / 407.8 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5197, allocations: 8 kB / 407.8 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5197, allocations: 3.984 kB / 407.8 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008008/0.5277, allocations: 5.67 MB / 413.5 MB, free: 28.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.5277, allocations: 0 / 413.5 MB, free: 28.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.5285, allocations: 200 kB / 413.7 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.5304, allocations: 0.8914 MB / 414.6 MB, free: 27.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.681e-05/0.5305, allocations: 39.98 kB / 414.6 MB, free: 27.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008863/0.5393, allocations: 10.83 MB / 425.4 MB, free: 16.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5394, allocations: 4.031 kB / 425.4 MB, free: 16.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005523/0.5449, allocations: 4.336 MB / 429.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.546, allocations: 458.7 kB / 430.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.5462, allocations: 35.98 kB / 430.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.5471, allocations: 91.88 kB / 430.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.5474, allocations: 145 kB / 430.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.5475, allocations: 44.75 kB / 430.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.5488, allocations: 1.107 MB / 431.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5488, allocations: 0 / 431.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00182/0.5507, allocations: 0.5574 MB / 432.2 MB, free: 9.52 MB / 318.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003051/0.551, allocations: 166.6 kB / 432.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.5548, allocations: 3.027 MB / 435.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5549, allocations: 0 / 435.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.5573, allocations: 2.058 MB / 437.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5591, allocations: 471.9 kB / 437.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.5669, allocations: 6.078 MB / 444 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.5689, allocations: 2.066 MB / 446 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.5702, allocations: 407.3 kB / 446.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.5705, allocations: 115.4 kB / 446.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.114e-06/0.5705, allocations: 0 / 446.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Templates: time 0.04887/0.6194, allocations: 29.57 MB / 476.1 MB, free: 13.32 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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