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.0009904/0.0009905, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.431/1.431, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000809/0.000809, allocations: 86.69 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.788e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08302/0.08307, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4201, allocations: 102.1 MB / 472.2 MB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4204, allocations: 85.7 kB / 472.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1086/0.5291, allocations: 40.22 MB / 0.5005 GB, free: 140 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5291, allocations: 7.984 kB / 0.5005 GB, free: 132 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.5292, allocations: 51.94 kB / 0.5005 GB, free: 80 kB / 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.003584/0.5328, allocations: 1.933 MB / 0.5024 GB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5329, allocations: 12.03 kB / 0.5024 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006451/0.5335, allocations: 249.3 kB / 0.5026 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.5361, allocations: 1.34 MB / 0.504 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.5362, allocations: 139.6 kB / 0.5041 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.5365, allocations: 183.9 kB / 0.5043 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.5401, allocations: 2.29 MB / 0.5065 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.5401, allocations: 4 kB / 0.5065 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.5403, allocations: 72.34 kB / 0.5066 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.018e-05/0.5404, allocations: 87.47 kB / 0.5067 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.5433, allocations: 1.783 MB / 0.5084 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.5542, allocations: 7.179 MB / 0.5154 GB, free: 452 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.5558, allocations: 1.27 MB / 0.5166 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.5568, allocations: 0.691 MB / 0.5173 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.5571, allocations: 133.8 kB / 0.5175 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.5571, allocations: 43.34 kB / 0.5175 GB, free: 14.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.827e-06/0.5572, allocations: 7.984 kB / 0.5175 GB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=113): time 0.01373/0.5709, allocations: 5.946 MB / 0.5233 GB, free: 8.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.571, allocations: 64.41 kB / 0.5234 GB, free: 8.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.5724, allocations: 1.034 MB / 0.5244 GB, free: 7.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.5725, allocations: 45.7 kB / 0.5244 GB, free: 7.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.5731, allocations: 0.8574 MB / 0.5253 GB, free: 6.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.5734, allocations: 398.2 kB / 0.5256 GB, free: 5.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.5735, allocations: 32 kB / 0.5257 GB, free: 5.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5736, allocations: 357.9 kB / 0.526 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/0.5745, allocations: 0.6312 MB / 0.5266 GB, free: 4.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5756, allocations: 0.9461 MB / 0.5276 GB, free: 3.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.5766, allocations: 0.7817 MB / 0.5283 GB, free: 2.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5767, allocations: 8 kB / 0.5283 GB, free: 2.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00372/0.5804, allocations: 2.323 MB / 0.5306 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5804, allocations: 11.98 kB / 0.5306 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5804, allocations: 11.94 kB / 0.5306 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1936/0.7741, allocations: 0.6304 MB / 0.5312 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.7753, allocations: 281.5 kB / 0.5315 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/0.7825, allocations: 6.293 MB / 0.5376 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.7837, allocations: 89.42 kB / 0.5377 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.7839, allocations: 54.47 kB / 0.5378 GB, free: 104.7 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.0002422/0.7841, allocations: 182.8 kB / 0.538 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.7844, allocations: 140.3 kB / 0.5381 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.7882, allocations: 2.177 MB / 0.5402 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7882, allocations: 11.5 kB / 0.5402 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7883, allocations: 8.938 kB / 0.5402 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.7883, allocations: 5.625 kB / 0.5402 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00776/0.7961, allocations: 4.356 MB / 0.5445 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.7961, allocations: 2.375 kB / 0.5445 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/0.7969, allocations: 176 kB / 0.5447 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.7989, allocations: 0.7184 MB / 0.5454 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.799, allocations: 33.52 kB / 0.5454 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007942/0.807, allocations: 8.044 MB / 0.5533 GB, free: 99.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.807, allocations: 3.156 kB / 0.5533 GB, free: 99.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.8111, allocations: 3.268 MB / 0.5564 GB, free: 98.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008837/0.812, allocations: 360 kB / 0.5568 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.8122, allocations: 26.28 kB / 0.5568 GB, free: 98.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/0.813, allocations: 86 kB / 0.5569 GB, free: 98.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.8133, allocations: 100.7 kB / 0.557 GB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.8134, allocations: 36.89 kB / 0.557 GB, free: 98.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.8144, allocations: 0.7913 MB / 0.5578 GB, free: 97.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8145, allocations: 0 / 0.5578 GB, free: 97.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001542/0.816, allocations: 481.9 kB / 0.5583 GB, free: 97.76 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.0004503/0.8165, allocations: 309.7 kB / 0.5586 GB, free: 97.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.8194, allocations: 2.213 MB / 0.5607 GB, free: 96.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8194, allocations: 2.859 kB / 0.5607 GB, free: 96.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.8215, allocations: 1.528 MB / 0.5622 GB, free: 95.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.8232, allocations: 353.8 kB / 0.5625 GB, free: 95.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.8278, allocations: 3.262 MB / 0.5657 GB, free: 94.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/0.8287, allocations: 1.688 MB / 0.5674 GB, free: 93.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000859/0.8296, allocations: 302.4 kB / 0.5677 GB, free: 93.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.8299, allocations: 94.83 kB / 0.5678 GB, free: 93.41 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.8299, allocations: 1.875 kB / 0.5678 GB, free: 93.41 MB / 410.7 MB Notification: Performance of Templates: time 0.03826/0.8681, allocations: 25.16 MB / 0.5923 GB, free: 87.23 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