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.001566/0.001566, allocations: 105.6 kB / 17.73 MB, free: 5.367 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.0018/0.0018, allocations: 188.1 kB / 18.66 MB, free: 4.445 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.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001398/0.001398, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09497, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.197/0.292, allocations: 8.797 MB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007443/0.2995, allocations: 2.881 MB / 386.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.3013, allocations: 39.69 kB / 386.4 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.3039, allocations: 0.607 MB / 387 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.3075, allocations: 0.6971 MB / 387.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3088, allocations: 330.1 kB / 388 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003692/0.3125, allocations: 2.227 MB / 390.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.3154, allocations: 1.709 MB / 391.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.3176, allocations: 1.012 MB / 392.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.3207, allocations: 1.284 MB / 394.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.3218, allocations: 273.2 kB / 394.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.3236, allocations: 357.3 kB / 394.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.325, allocations: 0.762 MB / 395.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.3285, allocations: 1.206 MB / 396.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.3347, allocations: 3.525 MB / 400.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3347, allocations: 8 kB / 400.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3347, allocations: 0 / 400.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001499/0.3349, allocations: 0 / 400.3 MB, free: 0.7539 MB / 318.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.007421/0.3423, allocations: 2.48 MB / 402.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3424, allocations: 10.59 kB / 402.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005484/0.3429, allocations: 266.2 kB / 403.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.3438, allocations: 249.6 kB / 403.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.3463, allocations: 1.234 MB / 404.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3465, allocations: 132.6 kB / 404.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.3468, allocations: 180.8 kB / 404.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.3512, allocations: 2.376 MB / 407.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/0.3513, allocations: 6.562 kB / 407.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.3515, allocations: 81.86 kB / 407.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/0.3516, allocations: 87.3 kB / 407.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.3553, allocations: 1.957 MB / 409.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.3678, allocations: 7.06 MB / 416.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.3698, allocations: 1.28 MB / 417.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.3713, allocations: 0.8581 MB / 418.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.3715, allocations: 122.1 kB / 418.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3716, allocations: 43.55 kB / 418.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.3716, allocations: 0 / 418.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01416/0.3858, allocations: 5.897 MB / 424.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3859, allocations: 64.39 kB / 424.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.3885, allocations: 1.215 MB / 425.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3886, allocations: 41.7 kB / 426 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.3893, allocations: 0.869 MB / 426.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.3896, allocations: 362.7 kB / 427.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.39, allocations: 218.8 kB / 427.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3902, allocations: 362.4 kB / 427.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.3914, allocations: 0.6116 MB / 428.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3927, allocations: 0.9236 MB / 429.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.3951, allocations: 1.636 MB / 430.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3952, allocations: 4 kB / 430.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00411/0.3993, allocations: 2.231 MB / 433.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3993, allocations: 8.562 kB / 433.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.3993, allocations: 12 kB / 433.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.4005, allocations: 484.4 kB / 433.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4016, allocations: 267.6 kB / 433.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/0.4087, allocations: 7.014 MB / 440.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4102, allocations: 79.92 kB / 441 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.4104, allocations: 59.91 kB / 441.1 MB, free: 12.27 MB / 366.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.001325/0.4118, allocations: 0.6028 MB / 441.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.4122, allocations: 138.3 kB / 441.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.416, allocations: 2.02 MB / 443.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.416, allocations: 12 kB / 443.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.416, allocations: 4 kB / 443.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.416, allocations: 7.969 kB / 443.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.4239, allocations: 4.209 MB / 448 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.4239, allocations: 4 kB / 448.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.4247, allocations: 179.8 kB / 448.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.4261, allocations: 0.5231 MB / 448.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.4263, allocations: 31.98 kB / 448.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008433/0.4347, allocations: 8.605 MB / 457.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.4347, allocations: 4 kB / 457.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005052/0.4398, allocations: 2.953 MB / 460.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/0.4407, allocations: 339.4 kB / 460.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/0.4412, allocations: 35.92 kB / 460.7 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4422, allocations: 71.92 kB / 460.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.4425, allocations: 92.75 kB / 460.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/0.4426, allocations: 39.98 kB / 460.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.4442, allocations: 0.8343 MB / 461.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4442, allocations: 0 / 461.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001914/0.4461, allocations: 411.9 kB / 462.1 MB, free: 6.27 MB / 382.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.005447/0.4516, allocations: 3.585 MB / 465.7 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.4553, allocations: 2.166 MB / 467.9 MB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.4553, allocations: 0 / 467.9 MB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.4577, allocations: 1.476 MB / 469.4 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.4604, allocations: 385 kB / 469.7 MB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/0.4872, allocations: 15.1 MB / 484.8 MB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/0.4889, allocations: 1.634 MB / 486.5 MB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.49, allocations: 299.8 kB / 486.8 MB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.4911, allocations: 0.6867 MB / 487.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4911, allocations: 0 / 487.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08257/0.5737, allocations: 37.81 MB / 0.513 GB, free: 6.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.23, allocations: 12.05 kB / 0.513 GB, free: 6.094 MB / 446.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