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.001489/0.001489, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001748/0.001747, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.51/1.51, allocations: 205.1 MB / 225.1 MB, free: 12.32 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.001432/0.001433, allocations: 52.34 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.0993, allocations: 46.63 MB / 328 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0111/0.1104, allocations: 8.791 MB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.1166, allocations: 2.879 MB / 339.6 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.1183, allocations: 35.88 kB / 339.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.1206, allocations: 0.6096 MB / 340.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.1238, allocations: 0.6949 MB / 341 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.125, allocations: 335.5 kB / 341.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003429/0.1284, allocations: 2.229 MB / 343.5 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.1312, allocations: 1.706 MB / 345.2 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.1332, allocations: 1.001 MB / 346.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.1358, allocations: 1.288 MB / 347.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008241/0.1366, allocations: 272 kB / 347.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.138, allocations: 355.8 kB / 348.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.1392, allocations: 0.7558 MB / 348.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.1417, allocations: 1.202 MB / 350.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004502/0.1463, allocations: 3.493 MB / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1463, allocations: 0 / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1463, allocations: 4 kB / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001412/0.1465, allocations: 0 / 353.6 MB, free: 10.7 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.007129/0.1536, allocations: 2.485 MB / 356.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1536, allocations: 8.031 kB / 356.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009494/0.1546, allocations: 246.3 kB / 356.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.157, allocations: 1.216 MB / 357.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.1572, allocations: 131.9 kB / 357.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/0.1576, allocations: 188 kB / 357.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004539/0.1621, allocations: 2.371 MB / 360.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.1622, allocations: 8 kB / 360.2 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.1624, allocations: 68 kB / 360.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.1625, allocations: 95.5 kB / 360.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/0.1662, allocations: 1.966 MB / 362.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.1788, allocations: 7.148 MB / 369.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.1808, allocations: 1.28 MB / 370.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.1824, allocations: 0.8699 MB / 371.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.1827, allocations: 122.6 kB / 371.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.1827, allocations: 51.5 kB / 371.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.835e-06/0.1827, allocations: 0 / 371.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01386/0.1966, allocations: 5.893 MB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1967, allocations: 64.34 kB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.1989, allocations: 1.207 MB / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.199, allocations: 49.7 kB / 379 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1626/0.3616, allocations: 0.8547 MB / 379.9 MB, free: 52.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005639/0.3622, allocations: 373.1 kB / 380.2 MB, free: 52.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006297/0.3629, allocations: 222 kB / 380.5 MB, free: 52.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.363, allocations: 356.7 kB / 380.8 MB, free: 51.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3643, allocations: 0.6128 MB / 381.4 MB, free: 51.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.3657, allocations: 0.9223 MB / 382.3 MB, free: 51.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.3684, allocations: 1.64 MB / 384 MB, free: 50.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.3685, allocations: 3.078 kB / 384 MB, free: 50.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004354/0.3728, allocations: 2.219 MB / 386.2 MB, free: 49.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3729, allocations: 8.719 kB / 386.2 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.3729, allocations: 13.97 kB / 386.2 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3742, allocations: 480.4 kB / 386.7 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3752, allocations: 267.5 kB / 387 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.3815, allocations: 7.033 MB / 394 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.3829, allocations: 79.81 kB / 394.1 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.3831, allocations: 51.75 kB / 394.1 MB, free: 43.82 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.00124/0.3843, allocations: 0.5997 MB / 394.7 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.3847, allocations: 135.7 kB / 394.9 MB, free: 43.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.3884, allocations: 2.017 MB / 396.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.3884, allocations: 14.94 kB / 396.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.3884, allocations: 4.188 kB / 396.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3884, allocations: 5.953 kB / 396.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/0.3957, allocations: 4.228 MB / 401.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.3958, allocations: 3.969 kB / 401.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.3965, allocations: 178 kB / 401.3 MB, free: 40.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.3977, allocations: 0.5245 MB / 401.8 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.3978, allocations: 36.39 kB / 401.9 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.4039, allocations: 8.61 MB / 410.5 MB, free: 32.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4039, allocations: 4 kB / 410.5 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/0.4079, allocations: 2.947 MB / 413.4 MB, free: 29.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008226/0.4088, allocations: 351.2 kB / 413.8 MB, free: 29.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/0.4092, allocations: 28 kB / 413.8 MB, free: 29.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.4102, allocations: 74.12 kB / 413.9 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.4104, allocations: 99.38 kB / 414 MB, free: 28.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.4105, allocations: 31.98 kB / 414 MB, free: 28.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.4118, allocations: 0.8382 MB / 414.8 MB, free: 28.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4118, allocations: 0 / 414.8 MB, free: 28.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00174/0.4136, allocations: 408 kB / 415.2 MB, free: 27.65 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.000394/0.414, allocations: 192.5 kB / 415.4 MB, free: 27.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.4177, allocations: 2.483 MB / 417.9 MB, free: 24.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4177, allocations: 0 / 417.9 MB, free: 24.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.4196, allocations: 1.484 MB / 419.4 MB, free: 23.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4217, allocations: 392.6 kB / 419.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.4275, allocations: 3.996 MB / 423.8 MB, free: 18.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.4287, allocations: 1.618 MB / 425.4 MB, free: 17.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.4291, allocations: 107.4 kB / 425.5 MB, free: 17.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4291, allocations: 0 / 425.5 MB, free: 17.16 MB / 318.1 MB Notification: Performance of Templates: time 0.08439/0.5135, allocations: 67.96 MB / 493.4 MB, free: 13.06 MB / 382.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/jenkins1/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/jenkins1/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