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.001541/0.001541, allocations: 93.25 kB / 17.3 MB, free: 6.395 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.002237/0.002237, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.958/1.958, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0006184/0.0006187, allocations: 12.22 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1418, allocations: 47.59 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01175/0.1536, allocations: 9.166 MB / 338.1 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008376/0.1621, allocations: 3.078 MB / 341.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.1641, allocations: 43.81 kB / 341.3 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.1663, allocations: 0.571 MB / 341.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.1694, allocations: 0.75 MB / 342.6 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.1704, allocations: 339.7 kB / 342.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004673/0.175, allocations: 3.534 MB / 346.4 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.178, allocations: 2.001 MB / 348.4 MB, free: 152 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.1803, allocations: 1.035 MB / 349.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.183, allocations: 1.439 MB / 350.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003996/0.1835, allocations: 156 kB / 351.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.1843, allocations: 263.8 kB / 351.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008545/0.1852, allocations: 0.7552 MB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.1872, allocations: 1.35 MB / 353.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.1922, allocations: 4.403 MB / 357.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.1923, allocations: 4 kB / 357.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1923, allocations: 0 / 357.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.1924, allocations: 0 / 357.8 MB, free: 6.711 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.006929/0.1994, allocations: 2.727 MB / 360.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.1994, allocations: 8.031 kB / 360.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.2004, allocations: 321.4 kB / 360.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.2034, allocations: 1.635 MB / 362.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.2035, allocations: 168.9 kB / 362.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.2039, allocations: 231.9 kB / 362.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006266/0.2102, allocations: 3.2 MB / 366.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/0.2103, allocations: 11.89 kB / 366.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.2106, allocations: 92 kB / 366.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.2107, allocations: 100.4 kB / 366.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/0.2157, allocations: 2.769 MB / 369.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.2342, allocations: 9.937 MB / 379 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2883/0.5226, allocations: 2.103 MB / 381.1 MB, free: 49.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/0.5256, allocations: 1.206 MB / 382.3 MB, free: 49.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.526, allocations: 126.9 kB / 382.5 MB, free: 49.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.5261, allocations: 46.05 kB / 382.5 MB, free: 49.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.878e-06/0.5261, allocations: 0 / 382.5 MB, free: 49.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02158/0.5477, allocations: 8.113 MB / 390.6 MB, free: 46.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.5478, allocations: 69.97 kB / 390.7 MB, free: 46.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.5508, allocations: 1.671 MB / 392.4 MB, free: 46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.551, allocations: 54.73 kB / 392.4 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000875/0.5519, allocations: 1.095 MB / 393.5 MB, free: 45.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.5523, allocations: 485.8 kB / 394 MB, free: 44.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.5526, allocations: 140 kB / 394.1 MB, free: 44.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.5527, allocations: 301.1 kB / 394.4 MB, free: 44.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.5542, allocations: 0.917 MB / 395.3 MB, free: 44.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.5561, allocations: 1.28 MB / 396.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.5592, allocations: 2.274 MB / 398.9 MB, free: 41.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.5592, allocations: 3.688 kB / 398.9 MB, free: 41.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005317/0.5646, allocations: 3.071 MB / 402 MB, free: 40.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.5646, allocations: 11.44 kB / 402 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.5646, allocations: 11.19 kB / 402 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.5665, allocations: 0.8396 MB / 402.8 MB, free: 39.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.5675, allocations: 311.5 kB / 403.1 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008624/0.5762, allocations: 9.092 MB / 412.2 MB, free: 30.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.5783, allocations: 104.8 kB / 412.3 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.5785, allocations: 56 kB / 412.4 MB, free: 29.91 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.001778/0.5803, allocations: 0.8174 MB / 413.2 MB, free: 29.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.5806, allocations: 181.8 kB / 413.4 MB, free: 28.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.5849, allocations: 2.866 MB / 416.2 MB, free: 26.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.585, allocations: 16 kB / 416.2 MB, free: 25.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.585, allocations: 11.98 kB / 416.3 MB, free: 25.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.585, allocations: 3.984 kB / 416.3 MB, free: 25.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00878/0.5938, allocations: 5.704 MB / 422 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.5939, allocations: 4 kB / 422 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.5946, allocations: 192 kB / 422.2 MB, free: 20.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.5967, allocations: 0.9008 MB / 423.1 MB, free: 19.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5968, allocations: 43.97 kB / 423.1 MB, free: 19.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009352/0.6062, allocations: 10.57 MB / 433.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.6062, allocations: 7.969 kB / 433.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/0.6123, allocations: 4.184 MB / 437.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.6137, allocations: 466.7 kB / 438.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.614, allocations: 39.98 kB / 438.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.6149, allocations: 79.92 kB / 438.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/0.6153, allocations: 153 kB / 438.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.6154, allocations: 36 kB / 438.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.6169, allocations: 1.153 MB / 439.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6169, allocations: 0 / 439.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002295/0.6192, allocations: 0.5574 MB / 440.3 MB, free: 1.223 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 (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.000445/0.6197, allocations: 200.9 kB / 440.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005495/0.6252, allocations: 3.02 MB / 443.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.6252, allocations: 4.562 kB / 443.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003477/0.6287, allocations: 2.049 MB / 445.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.6323, allocations: 480.6 kB / 446.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6436, allocations: 6.339 MB / 452.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.6458, allocations: 2.02 MB / 454.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001719/0.6476, allocations: 411.3 kB / 454.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.6479, allocations: 108.7 kB / 454.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6479, allocations: 0 / 454.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Templates: time 0.06648/0.7144, allocations: 30.89 MB / 485.8 MB, free: 3.449 MB / 366.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