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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001294/0.001294, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.432/1.432, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001214/0.001214, allocations: 56.12 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01134/0.1167, allocations: 8.789 MB / 336.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007144/0.1239, allocations: 2.875 MB / 339.1 MB, free: 8.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1257, allocations: 39.81 kB / 339.1 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.1277, allocations: 0.6054 MB / 339.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.1303, allocations: 0.7027 MB / 340.4 MB, free: 7.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.1313, allocations: 331.6 kB / 340.7 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.1343, allocations: 2.233 MB / 343 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.1364, allocations: 1.695 MB / 344.7 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.138, allocations: 1.005 MB / 345.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.1398, allocations: 1.284 MB / 346.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004259/0.1402, allocations: 272 kB / 347.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.141, allocations: 359.8 kB / 347.6 MB, free: 60 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.1418, allocations: 0.756 MB / 348.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.1432, allocations: 1.206 MB / 349.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.1468, allocations: 3.493 MB / 353 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1469, allocations: 0 / 353 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1469, allocations: 0 / 353 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.399e-05/0.1469, allocations: 0 / 353 MB, free: 10.59 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.005329/0.1523, allocations: 2.485 MB / 355.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1523, allocations: 8.031 kB / 355.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003475/0.1527, allocations: 270 kB / 355.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.1534, allocations: 246.3 kB / 356 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.1553, allocations: 1.22 MB / 357.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1554, allocations: 131.9 kB / 357.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.1557, allocations: 191.8 kB / 357.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.1599, allocations: 2.367 MB / 359.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.16, allocations: 7.938 kB / 359.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.1602, allocations: 72 kB / 360 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.1603, allocations: 99.5 kB / 360.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.1639, allocations: 1.958 MB / 362 MB, free: 1.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.1755, allocations: 7.144 MB / 369.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.1775, allocations: 1.28 MB / 370.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.1791, allocations: 0.8698 MB / 371.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.1793, allocations: 118.1 kB / 371.5 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1794, allocations: 51.56 kB / 371.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.236e-06/0.1794, allocations: 0 / 371.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01337/0.1928, allocations: 5.893 MB / 377.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1929, allocations: 60.41 kB / 377.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.1948, allocations: 1.218 MB / 378.7 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.1949, allocations: 45.7 kB / 378.7 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1794/0.3743, allocations: 0.8651 MB / 379.6 MB, free: 52.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.3747, allocations: 362.2 kB / 379.9 MB, free: 51.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.3751, allocations: 220.8 kB / 380.2 MB, free: 51.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.3752, allocations: 352.4 kB / 380.5 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3762, allocations: 0.6127 MB / 381.1 MB, free: 51.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3775, allocations: 0.9247 MB / 382 MB, free: 51.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.3799, allocations: 1.639 MB / 383.7 MB, free: 50.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.3799, allocations: 3.625 kB / 383.7 MB, free: 50.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003935/0.3839, allocations: 2.222 MB / 385.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.3839, allocations: 13.11 kB / 385.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.384, allocations: 10.12 kB / 385.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.3852, allocations: 486.1 kB / 386.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.3862, allocations: 266.5 kB / 386.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006193/0.3924, allocations: 7.025 MB / 393.7 MB, free: 43.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.3938, allocations: 84.22 kB / 393.8 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.3939, allocations: 48.39 kB / 393.8 MB, free: 43.55 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.001131/0.3951, allocations: 0.5946 MB / 394.4 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.3954, allocations: 139.7 kB / 394.5 MB, free: 43.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.3987, allocations: 2.023 MB / 396.6 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3987, allocations: 11.81 kB / 396.6 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3988, allocations: 7.906 kB / 396.6 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.3988, allocations: 3.656 kB / 396.6 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.4053, allocations: 4.225 MB / 400.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4053, allocations: 8.094 kB / 400.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.406, allocations: 178 kB / 401 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.4072, allocations: 0.5171 MB / 401.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.4073, allocations: 39.47 kB / 401.6 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005894/0.4132, allocations: 8.616 MB / 410.2 MB, free: 32.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4133, allocations: 8 kB / 410.2 MB, free: 32.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.4171, allocations: 2.939 MB / 413.1 MB, free: 29.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/0.4177, allocations: 349.9 kB / 413.5 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.4179, allocations: 31.98 kB / 413.5 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.4186, allocations: 75.92 kB / 413.6 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.4188, allocations: 94.17 kB / 413.7 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/0.4189, allocations: 33.12 kB / 413.7 MB, free: 28.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009715/0.4199, allocations: 0.8382 MB / 414.5 MB, free: 27.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4199, allocations: 4 kB / 414.5 MB, free: 27.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4213, allocations: 406.6 kB / 414.9 MB, free: 27.25 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.003867/0.4252, allocations: 3.579 MB / 418.5 MB, free: 23.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4289, allocations: 2.491 MB / 421 MB, free: 21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.4289, allocations: 4.25 kB / 421 MB, free: 21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.4308, allocations: 1.481 MB / 422.5 MB, free: 19.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.4328, allocations: 390.9 kB / 422.9 MB, free: 19.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.4525, allocations: 16.25 MB / 439.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/0.4535, allocations: 1.63 MB / 440.7 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009724/0.4545, allocations: 299.8 kB / 441 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009202/0.4554, allocations: 0.6878 MB / 441.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4554, allocations: 0 / 441.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08602/0.5414, allocations: 36.62 MB / 478.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.55, allocations: 12.14 kB / 478.4 MB, free: 10.5 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > 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.csv","/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