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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001227, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001095, allocations: 95.84 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3775, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5351, allocations: 104.8 MB / 480.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004531/0.5357, allocations: 95.89 kB / 480.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4382/0.9739, allocations: 48.98 MB / 0.5173 GB, free: 94.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.974, allocations: 0 / 0.5173 GB, free: 94.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002349/0.9742, allocations: 64.16 kB / 0.5173 GB, free: 94.7 MB / 378.7 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.008905/0.9831, allocations: 2.752 MB / 0.52 GB, free: 93.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.9832, allocations: 7.5 kB / 0.52 GB, free: 93.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.985, allocations: 334.4 kB / 0.5203 GB, free: 93.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/0.9899, allocations: 1.741 MB / 0.522 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.9901, allocations: 170.7 kB / 0.5222 GB, free: 92.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007051/0.9909, allocations: 229.5 kB / 0.5224 GB, free: 92.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006347/0.9972, allocations: 3.155 MB / 0.5255 GB, free: 90.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.9973, allocations: 7.922 kB / 0.5255 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.9976, allocations: 102.2 kB / 0.5256 GB, free: 89.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.9977, allocations: 94.81 kB / 0.5257 GB, free: 89.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/1.002, allocations: 2.635 MB / 0.5283 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/1.018, allocations: 9.949 MB / 0.538 GB, free: 77.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/1.021, allocations: 2.134 MB / 0.5401 GB, free: 75.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/1.022, allocations: 142.3 kB / 0.5402 GB, free: 75.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.022, allocations: 44.44 kB / 0.5403 GB, free: 75.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 7.975e-06/1.022, allocations: 0 / 0.5403 GB, free: 75.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.01795/1.04, allocations: 8.056 MB / 0.5481 GB, free: 66.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.04, allocations: 68.72 kB / 0.5482 GB, free: 66.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/1.042, allocations: 1.465 MB / 0.5496 GB, free: 65.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/1.042, allocations: 49.7 kB / 0.5497 GB, free: 65.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/1.043, allocations: 1.078 MB / 0.5507 GB, free: 64.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/1.043, allocations: 496.5 kB / 0.5512 GB, free: 63.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/1.043, allocations: 32 kB / 0.5512 GB, free: 63.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/1.043, allocations: 369.9 kB / 0.5516 GB, free: 63.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.044, allocations: 0.9135 MB / 0.5525 GB, free: 62.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.046, allocations: 1.23 MB / 0.5537 GB, free: 61.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.047, allocations: 1.072 MB / 0.5547 GB, free: 60.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.047, allocations: 4 kB / 0.5547 GB, free: 60.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004362/1.051, allocations: 3.029 MB / 0.5577 GB, free: 56.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.051, allocations: 8 kB / 0.5577 GB, free: 56.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.051, allocations: 15.98 kB / 0.5577 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/1.053, allocations: 0.8339 MB / 0.5585 GB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.054, allocations: 315.5 kB / 0.5588 GB, free: 55.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/1.063, allocations: 9.345 MB / 0.5679 GB, free: 46.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.065, allocations: 107.7 kB / 0.568 GB, free: 45.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.066, allocations: 60 kB / 0.5681 GB, free: 45.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (152): * Single equations (assignments): 147 * 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,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002513/1.068, allocations: 0.8019 MB / 0.5689 GB, free: 45.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008729/1.069, allocations: 185.7 kB / 0.5691 GB, free: 44.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/1.074, allocations: 2.905 MB / 0.5719 GB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.074, allocations: 12 kB / 0.5719 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.074, allocations: 11.98 kB / 0.5719 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.074, allocations: 3.984 kB / 0.5719 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009559/1.084, allocations: 5.693 MB / 0.5775 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.084, allocations: 0 / 0.5775 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/1.085, allocations: 207.7 kB / 0.5777 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/1.087, allocations: 0.8863 MB / 0.5785 GB, free: 35.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.087, allocations: 39.97 kB / 0.5786 GB, free: 35.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009757/1.097, allocations: 10.89 MB / 0.5892 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.097, allocations: 4 kB / 0.5892 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/1.103, allocations: 4.382 MB / 0.5935 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/1.104, allocations: 466.7 kB / 0.5939 GB, free: 18.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/1.104, allocations: 35.98 kB / 0.594 GB, free: 18.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/1.105, allocations: 95.86 kB / 0.5941 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/1.106, allocations: 145.4 kB / 0.5942 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/1.106, allocations: 51.98 kB / 0.5943 GB, free: 18.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001632/1.107, allocations: 1.126 MB / 0.5954 GB, free: 17.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/1.107, allocations: 0 / 0.5954 GB, free: 17.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002247/1.11, allocations: 0.5898 MB / 0.5959 GB, free: 16.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (102): * Single equations (assignments): 97 * 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.0005334/1.11, allocations: 303.1 kB / 0.5962 GB, free: 16.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004059/1.114, allocations: 3.035 MB / 0.5992 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.114, allocations: 0 / 0.5992 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/1.117, allocations: 2.081 MB / 0.6012 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.12, allocations: 476.8 kB / 0.6017 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008964/1.129, allocations: 6.082 MB / 0.6076 GB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/1.131, allocations: 2.075 MB / 0.6096 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001835/1.132, allocations: 399.2 kB / 0.61 GB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/1.133, allocations: 115.4 kB / 0.6101 GB, free: 1.809 MB / 378.7 MB Notification: Performance of SimCode: time 2.605e-06/1.133, allocations: 0 / 0.6101 GB, free: 1.809 MB / 378.7 MB Notification: Performance of Templates: time 0.06776/1.201, allocations: 32.51 MB / 0.6419 GB, free: 1.277 MB / 410.7 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