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.001062/0.001062, allocations: 101.5 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.001237/0.001237, allocations: 192 kB / 18.51 MB, free: 4.508 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.493/1.493, allocations: 205.1 MB / 224.4 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.001601/0.001601, allocations: 52.3 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 46.62 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01316/0.1193, allocations: 8.793 MB / 336.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006317/0.1256, allocations: 2.875 MB / 339.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.1267, allocations: 39.81 kB / 339.1 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.1283, allocations: 0.6054 MB / 339.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.1304, allocations: 0.7028 MB / 340.4 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.1311, allocations: 335.4 kB / 340.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.1335, allocations: 2.226 MB / 343 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.1355, allocations: 1.706 MB / 344.7 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.137, allocations: 1.005 MB / 345.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.1385, allocations: 1.281 MB / 346.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.1389, allocations: 272 kB / 347.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006755/0.1396, allocations: 359.8 kB / 347.6 MB, free: 64 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.1404, allocations: 0.7597 MB / 348.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.1417, allocations: 1.206 MB / 349.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.145, allocations: 3.485 MB / 353 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.145, allocations: 0 / 353 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.145, allocations: 4 kB / 353 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.172e-05/0.1451, 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.00535/0.1505, allocations: 2.485 MB / 355.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.1505, allocations: 8.031 kB / 355.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003529/0.1509, allocations: 270 kB / 355.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006561/0.1516, allocations: 250.3 kB / 356 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.1534, allocations: 1.216 MB / 357.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1536, allocations: 131.9 kB / 357.4 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.1538, allocations: 183.8 kB / 357.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.1577, allocations: 2.378 MB / 359.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.1578, allocations: 0 / 359.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.1579, allocations: 72 kB / 360 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.1581, allocations: 91.5 kB / 360.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/0.1614, allocations: 1.969 MB / 362 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.172, allocations: 7.14 MB / 369.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.174, allocations: 1.288 MB / 370.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.1756, allocations: 0.8659 MB / 371.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.1759, allocations: 118.1 kB / 371.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.1759, allocations: 47.5 kB / 371.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 4.047e-06/0.1759, allocations: 0 / 371.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01356/0.1895, allocations: 5.893 MB / 377.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1896, allocations: 68.41 kB / 377.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.1914, allocations: 1.214 MB / 378.7 MB, free: 336 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.1915, allocations: 41.7 kB / 378.7 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.191/0.3826, allocations: 0.8624 MB / 379.6 MB, free: 52.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/0.3832, allocations: 366 kB / 379.9 MB, free: 51.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.3837, allocations: 219.4 kB / 380.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3838, allocations: 356.4 kB / 380.5 MB, free: 51.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3851, allocations: 0.6153 MB / 381.1 MB, free: 51.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.3868, allocations: 0.9189 MB / 382 MB, free: 51.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.3896, allocations: 1.642 MB / 383.7 MB, free: 50.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.3896, allocations: 3 kB / 383.7 MB, free: 50.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004371/0.394, allocations: 2.222 MB / 385.9 MB, free: 49.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.394, allocations: 9.594 kB / 385.9 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.3941, allocations: 9.688 kB / 385.9 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.3954, allocations: 489.5 kB / 386.4 MB, free: 49.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3965, allocations: 270.8 kB / 386.7 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.4034, allocations: 7.025 MB / 393.7 MB, free: 43.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4049, allocations: 80.48 kB / 393.8 MB, free: 43.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.405, allocations: 47.91 kB / 393.8 MB, free: 43.52 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.001384/0.4064, allocations: 0.5982 MB / 394.4 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.4068, allocations: 140.2 kB / 394.5 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/0.4102, allocations: 2.02 MB / 396.6 MB, free: 42.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4102, allocations: 13.8 kB / 396.6 MB, free: 42.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4102, allocations: 9.25 kB / 396.6 MB, free: 42.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4102, allocations: 3.891 kB / 396.6 MB, free: 42.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006755/0.417, allocations: 4.226 MB / 400.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.417, allocations: 3.906 kB / 400.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.4177, allocations: 181.8 kB / 401 MB, free: 40.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.4189, allocations: 0.5229 MB / 401.5 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/0.419, allocations: 35.05 kB / 401.6 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006743/0.4258, allocations: 8.615 MB / 410.2 MB, free: 32.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.4259, allocations: 12 kB / 410.2 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.4304, allocations: 2.94 MB / 413.1 MB, free: 29.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.4311, allocations: 343.3 kB / 413.5 MB, free: 28.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.4313, allocations: 35.98 kB / 413.5 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/0.4321, allocations: 71.92 kB / 413.6 MB, free: 28.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.4323, allocations: 98.16 kB / 413.7 MB, free: 28.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.4324, allocations: 35.98 kB / 413.7 MB, free: 28.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.4336, allocations: 0.8343 MB / 414.5 MB, free: 27.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4336, allocations: 4 kB / 414.5 MB, free: 27.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001651/0.4352, allocations: 407.1 kB / 414.9 MB, free: 27.22 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.00391/0.4392, allocations: 3.578 MB / 418.5 MB, free: 23.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.4427, allocations: 2.489 MB / 421 MB, free: 20.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.4427, allocations: 4 kB / 421 MB, free: 20.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.4445, allocations: 1.473 MB / 422.5 MB, free: 19.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.4463, allocations: 388 kB / 422.9 MB, free: 19.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/0.4656, allocations: 16.26 MB / 439.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.4668, allocations: 1.629 MB / 440.7 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.4678, allocations: 299.8 kB / 441 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/0.4688, allocations: 0.6906 MB / 441.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4688, allocations: 1.094 kB / 441.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.5914, allocations: 36.61 MB / 478.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.44, allocations: 12.2 kB / 478.3 MB, free: 10.49 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 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.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