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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 100.2 kB / 17.58 MB, free: 5.414 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.001378/0.001378, allocations: 187.9 kB / 18.5 MB, free: 4.516 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.607/1.607, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002091/0.002091, allocations: 51.92 kB / 280.7 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1356, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01231/0.148, allocations: 8.789 MB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006794/0.1548, allocations: 2.879 MB / 338.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.1562, allocations: 43.75 kB / 339 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.158, allocations: 0.6057 MB / 339.6 MB, free: 8.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.1606, allocations: 0.6988 MB / 340.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.1613, allocations: 343.4 kB / 340.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1637, allocations: 2.226 MB / 342.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.1656, allocations: 1.695 MB / 344.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.1672, allocations: 1.012 MB / 345.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.1692, allocations: 1.277 MB / 346.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.1697, allocations: 272 kB / 347.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.1705, allocations: 355.8 kB / 347.5 MB, free: 176 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009654/0.1715, allocations: 0.7636 MB / 348.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.1731, allocations: 1.202 MB / 349.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.177, allocations: 3.489 MB / 352.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1771, allocations: 0 / 352.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.684e-06/0.1771, allocations: 4 kB / 352.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.797e-05/0.1771, allocations: 3.938 kB / 352.9 MB, free: 10.69 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005251/0.1824, allocations: 2.481 MB / 355.4 MB, free: 8.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1825, allocations: 8.031 kB / 355.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006943/0.1832, allocations: 250.3 kB / 355.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.1852, allocations: 1.224 MB / 356.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1853, allocations: 135.9 kB / 357 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.1856, allocations: 180 kB / 357.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.1893, allocations: 2.367 MB / 359.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.1894, allocations: 11.98 kB / 359.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.1896, allocations: 75.98 kB / 359.6 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1897, allocations: 87.52 kB / 359.7 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.193, allocations: 1.962 MB / 361.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.2032, allocations: 7.152 MB / 368.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.2052, allocations: 1.272 MB / 370.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.2069, allocations: 0.8698 MB / 371 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.2072, allocations: 126.1 kB / 371.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/0.2073, allocations: 47.55 kB / 371.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.296e-06/0.2073, allocations: 0 / 371.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01387/0.2212, allocations: 5.889 MB / 377 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.2213, allocations: 64.39 kB / 377.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.2238, allocations: 1.211 MB / 378.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.2239, allocations: 49.7 kB / 378.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2763/0.5002, allocations: 0.8575 MB / 379.2 MB, free: 52.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.5008, allocations: 365.6 kB / 379.6 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/0.5013, allocations: 221.6 kB / 379.8 MB, free: 52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5014, allocations: 357.9 kB / 380.1 MB, free: 51.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.5026, allocations: 0.6126 MB / 380.7 MB, free: 51.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.5045, allocations: 0.9216 MB / 381.7 MB, free: 51.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.5074, allocations: 1.643 MB / 383.3 MB, free: 50.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5074, allocations: 1.875 kB / 383.3 MB, free: 50.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004663/0.5121, allocations: 2.22 MB / 385.5 MB, free: 49.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.5121, allocations: 10.17 kB / 385.5 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.5122, allocations: 9.125 kB / 385.6 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.5135, allocations: 485.9 kB / 386 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.5145, allocations: 268 kB / 386.3 MB, free: 49.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006863/0.5214, allocations: 7.032 MB / 393.3 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.5229, allocations: 83.41 kB / 393.4 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.523, allocations: 48.58 kB / 393.4 MB, free: 43.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001333/0.5243, allocations: 0.5977 MB / 394 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.5246, allocations: 137.1 kB / 394.2 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.5281, allocations: 2.021 MB / 396.2 MB, free: 42.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5281, allocations: 14.06 kB / 396.2 MB, free: 42.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5281, allocations: 4.375 kB / 396.2 MB, free: 42.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5281, allocations: 8.203 kB / 396.2 MB, free: 42.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.5347, allocations: 4.218 MB / 400.4 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5348, allocations: 3.969 kB / 400.4 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.5355, allocations: 185.4 kB / 400.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.5367, allocations: 0.5177 MB / 401.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.5368, allocations: 38.11 kB / 401.2 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006161/0.543, allocations: 8.624 MB / 409.8 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.543, allocations: 4.062 kB / 409.8 MB, free: 32.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.5471, allocations: 2.935 MB / 412.7 MB, free: 29.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000791/0.5479, allocations: 353 kB / 413.1 MB, free: 29.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.5481, allocations: 32 kB / 413.1 MB, free: 29.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/0.5489, allocations: 75.91 kB / 413.2 MB, free: 29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.5492, allocations: 95.39 kB / 413.3 MB, free: 28.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.5492, allocations: 35.98 kB / 413.3 MB, free: 28.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.5505, allocations: 0.8343 MB / 414.2 MB, free: 28.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5505, allocations: 0 / 414.2 MB, free: 28.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001733/0.5522, allocations: 412 kB / 414.6 MB, free: 27.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * 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,6,100.0%), (1,1,100.0%), (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.0003475/0.5526, allocations: 192.3 kB / 414.8 MB, free: 27.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.5564, allocations: 2.486 MB / 417.2 MB, free: 24.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5564, allocations: 0 / 417.2 MB, free: 24.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.5583, allocations: 1.48 MB / 418.7 MB, free: 23.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.56, allocations: 392.2 kB / 419.1 MB, free: 22.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006383/0.5664, allocations: 3.953 MB / 423.1 MB, free: 18.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/0.5674, allocations: 1.634 MB / 424.7 MB, free: 17.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008971/0.5683, allocations: 299.8 kB / 425 MB, free: 16.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5685, allocations: 95.42 kB / 425.1 MB, free: 16.9 MB / 318.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5686, allocations: 0 / 425.1 MB, free: 16.9 MB / 318.1 MB Notification: Performance of Templates: time 0.03949/0.608, allocations: 22.28 MB / 447.3 MB, free: 10.62 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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