Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008224/0.0008224, allocations: 84.11 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.482e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07825, allocations: 47.6 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/0.4003, allocations: 101.7 MB / 464.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.4007, allocations: 83.45 kB / 464.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.5248, allocations: 39.7 MB / 0.4927 GB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5248, allocations: 4 kB / 0.4928 GB, free: 7.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.5249, allocations: 47.94 kB / 0.4928 GB, free: 7.879 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003536/0.5285, allocations: 1.933 MB / 0.4947 GB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5285, allocations: 12.02 kB / 0.4947 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.5292, allocations: 249.4 kB / 0.4949 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.5314, allocations: 1.344 MB / 0.4962 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.5315, allocations: 60 kB / 0.4963 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5317, allocations: 107.9 kB / 0.4964 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002724/0.5344, allocations: 1.69 MB / 0.4981 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.5376, allocations: 2.037 MB / 0.5 GB, free: 280 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.5376, allocations: 8.266 kB / 0.5001 GB, free: 272 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.5378, allocations: 7.953 kB / 0.5001 GB, free: 264 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/0.5379, allocations: 83.52 kB / 0.5001 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.548, allocations: 6.817 MB / 0.5068 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.5495, allocations: 1.225 MB / 0.508 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009521/0.5505, allocations: 0.6715 MB / 0.5087 GB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.5508, allocations: 129.8 kB / 0.5088 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5508, allocations: 43.33 kB / 0.5088 GB, free: 7.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 2.996e-06/0.5508, allocations: 0 / 0.5088 GB, free: 7.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=113): time 0.00852/0.5594, allocations: 4.577 MB / 0.5133 GB, free: 2.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5594, allocations: 64.72 kB / 0.5134 GB, free: 2.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.5607, allocations: 0.8472 MB / 0.5142 GB, free: 1.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.5607, allocations: 25.7 kB / 0.5142 GB, free: 1.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.5612, allocations: 0.8723 MB / 0.5151 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.5615, allocations: 378.3 kB / 0.5154 GB, free: 140 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.5616, allocations: 4 kB / 0.5154 GB, free: 136 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5617, allocations: 357.9 kB / 0.5158 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.5626, allocations: 0.6039 MB / 0.5163 GB, free: 15.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/0.5635, allocations: 0.9126 MB / 0.5172 GB, free: 14.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.5645, allocations: 0.7558 MB / 0.518 GB, free: 13.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5645, allocations: 4 kB / 0.518 GB, free: 13.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003292/0.5678, allocations: 2.194 MB / 0.5201 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5678, allocations: 12.25 kB / 0.5201 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.5679, allocations: 15.94 kB / 0.5202 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.5693, allocations: 0.6308 MB / 0.5208 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/0.5703, allocations: 275.6 kB / 0.521 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.5769, allocations: 6.029 MB / 0.5269 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.578, allocations: 67.81 kB / 0.527 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5781, allocations: 52.05 kB / 0.527 GB, free: 3.844 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.5784, allocations: 140.6 kB / 0.5272 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.5786, allocations: 126.5 kB / 0.5273 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.5819, allocations: 2.067 MB / 0.5293 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.582, allocations: 12 kB / 0.5293 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.582, allocations: 8 kB / 0.5293 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.582, allocations: 15.95 kB / 0.5293 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2005/0.7825, allocations: 4.005 MB / 0.5333 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.7826, allocations: 2.859 kB / 0.5333 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/0.7833, allocations: 173 kB / 0.5334 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.7851, allocations: 0.7128 MB / 0.5341 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.048e-05/0.7852, allocations: 20.5 kB / 0.5341 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007508/0.7927, allocations: 7.715 MB / 0.5417 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.7928, allocations: 5.688 kB / 0.5417 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/0.7976, allocations: 3.165 MB / 0.5448 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.7983, allocations: 340.3 kB / 0.5451 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7985, allocations: 10.5 kB / 0.5451 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008003/0.7993, allocations: 71.11 kB / 0.5452 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.7996, allocations: 97.41 kB / 0.5453 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.274e-05/0.7997, allocations: 36.25 kB / 0.5453 GB, free: 105.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009733/0.8007, allocations: 0.6417 MB / 0.5459 GB, free: 105.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8007, allocations: 0 / 0.5459 GB, free: 105.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001385/0.8021, allocations: 406.6 kB / 0.5463 GB, free: 105.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004821/0.8026, allocations: 277.4 kB / 0.5466 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.8056, allocations: 2.127 MB / 0.5487 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8056, allocations: 1.031 kB / 0.5487 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.8076, allocations: 1.476 MB / 0.5501 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.8088, allocations: 278.5 kB / 0.5504 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.813, allocations: 3.187 MB / 0.5535 GB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/0.814, allocations: 1.683 MB / 0.5551 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007406/0.8148, allocations: 274 kB / 0.5554 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.815, allocations: 93.44 kB / 0.5555 GB, free: 102.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.815, allocations: 0 / 0.5555 GB, free: 102.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02668/0.8417, allocations: 20.05 MB / 0.575 GB, free: 101.4 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches