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.001339/0.001339, allocations: 175.1 kB / 18.04 MB, free: 3.668 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.359/1.359, allocations: 205.4 MB / 224.2 MB, free: 9.055 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.000778/0.0007782, allocations: 86.36 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005247, allocations: 11.98 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3403, allocations: 105 MB / 482 MB, free: 7.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3406, allocations: 95.95 kB / 482.1 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2788/0.6195, allocations: 48.96 MB / 0.5186 GB, free: 95.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6195, allocations: 0 / 0.5186 GB, free: 95.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001636/0.6197, allocations: 63.44 kB / 0.5187 GB, free: 95.01 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.005818/0.6255, allocations: 2.727 MB / 0.5214 GB, free: 93.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6256, allocations: 11.5 kB / 0.5214 GB, free: 93.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.6268, allocations: 322.8 kB / 0.5217 GB, free: 93.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.6303, allocations: 1.793 MB / 0.5234 GB, free: 92.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.6305, allocations: 177.9 kB / 0.5236 GB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/0.6309, allocations: 234.3 kB / 0.5238 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/0.6358, allocations: 3.171 MB / 0.5269 GB, free: 90.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.448e-05/0.6359, allocations: 11.66 kB / 0.5269 GB, free: 90.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.6362, allocations: 98.12 kB / 0.527 GB, free: 89.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-05/0.6363, allocations: 95.06 kB / 0.5271 GB, free: 89.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.6405, allocations: 2.64 MB / 0.5297 GB, free: 87.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.6553, allocations: 9.946 MB / 0.5394 GB, free: 77.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.6576, allocations: 2.142 MB / 0.5415 GB, free: 75.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.6591, allocations: 1.145 MB / 0.5426 GB, free: 73.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.6594, allocations: 134.4 kB / 0.5427 GB, free: 73.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6594, allocations: 43.88 kB / 0.5428 GB, free: 73.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 3.737e-06/0.6594, allocations: 0 / 0.5428 GB, free: 73.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.01581/0.6753, allocations: 8.062 MB / 0.5507 GB, free: 65.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.6753, allocations: 72.64 kB / 0.5507 GB, free: 65.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.6775, allocations: 1.645 MB / 0.5523 GB, free: 63.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.6777, allocations: 45.7 kB / 0.5524 GB, free: 63.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.6784, allocations: 1.082 MB / 0.5534 GB, free: 62.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.6787, allocations: 496.5 kB / 0.5539 GB, free: 62.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.6788, allocations: 32 kB / 0.5539 GB, free: 62.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.6789, allocations: 365.9 kB / 0.5543 GB, free: 61.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.6802, allocations: 0.9096 MB / 0.5552 GB, free: 60.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.6816, allocations: 1.234 MB / 0.5564 GB, free: 59.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.6842, allocations: 2.218 MB / 0.5585 GB, free: 57.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.6843, allocations: 4 kB / 0.5586 GB, free: 57.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004576/0.6889, allocations: 3.029 MB / 0.5615 GB, free: 54.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.6889, allocations: 8.25 kB / 0.5615 GB, free: 54.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.6889, allocations: 12 kB / 0.5615 GB, free: 54.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.6908, allocations: 0.8452 MB / 0.5624 GB, free: 53.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.6919, allocations: 307.5 kB / 0.5626 GB, free: 52.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008279/0.7002, allocations: 9.099 MB / 0.5715 GB, free: 43.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.7017, allocations: 107.9 kB / 0.5716 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.7019, allocations: 59.98 kB / 0.5717 GB, free: 43.25 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.001399/0.7033, allocations: 0.8047 MB / 0.5725 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.7036, allocations: 189.7 kB / 0.5727 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.7079, allocations: 2.881 MB / 0.5755 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.7079, allocations: 16 kB / 0.5755 GB, free: 39.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7079, allocations: 12 kB / 0.5755 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.7079, allocations: 11.97 kB / 0.5755 GB, free: 39.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008415/0.7164, allocations: 5.695 MB / 0.5811 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7164, allocations: 0 / 0.5811 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/0.7172, allocations: 207.7 kB / 0.5813 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.7192, allocations: 0.8938 MB / 0.5821 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.7193, allocations: 39.97 kB / 0.5822 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008975/0.7283, allocations: 10.61 MB / 0.5925 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7283, allocations: 11.95 kB / 0.5926 GB, free: 21.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.7339, allocations: 4.214 MB / 0.5967 GB, free: 16.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/0.7349, allocations: 470.7 kB / 0.5971 GB, free: 16.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.7351, allocations: 32 kB / 0.5971 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.736, allocations: 91.91 kB / 0.5972 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.7364, allocations: 153.1 kB / 0.5974 GB, free: 16.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.7365, allocations: 43.98 kB / 0.5974 GB, free: 16.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001437/0.7379, allocations: 1.126 MB / 0.5985 GB, free: 15.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7379, allocations: 0 / 0.5985 GB, free: 15.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00164/0.7396, allocations: 0.5898 MB / 0.5991 GB, free: 14.43 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.0004513/0.74, allocations: 300.6 kB / 0.5994 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.744, allocations: 3.023 MB / 0.6023 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/0.744, allocations: 4 kB / 0.6023 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.7465, allocations: 2.065 MB / 0.6044 GB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.7492, allocations: 491.1 kB / 0.6048 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.7565, allocations: 6.082 MB / 0.6108 GB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.7579, allocations: 2.02 MB / 0.6127 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001352/0.7593, allocations: 403.2 kB / 0.6131 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.7596, allocations: 111.4 kB / 0.6132 GB, free: 15.73 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.7596, allocations: 3.938 kB / 0.6132 GB, free: 15.73 MB / 394.7 MB Notification: Performance of Templates: time 0.228/0.9876, allocations: 32.86 MB / 0.6453 GB, free: 114.6 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/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","../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