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.001473/0.001473, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.0015/0.0015, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.387/1.387, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001613/0.001613, allocations: 59.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08836, 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.1794/0.2678, allocations: 8.799 MB / 383.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.2725, allocations: 2.886 MB / 386.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.2734, allocations: 39.12 kB / 386.4 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.2748, allocations: 0.6071 MB / 387 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.2767, allocations: 0.6938 MB / 387.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.2774, allocations: 325.6 kB / 388 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002453/0.2799, allocations: 2.236 MB / 390.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.2817, allocations: 1.703 MB / 391.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.2834, allocations: 1.01 MB / 392.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.2859, allocations: 1.286 MB / 394.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005379/0.2864, allocations: 269.8 kB / 394.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.2874, allocations: 355.2 kB / 394.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007538/0.2882, allocations: 0.7645 MB / 395.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.2894, allocations: 1.206 MB / 396.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.2936, allocations: 3.536 MB / 400.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2936, allocations: 0 / 400.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2936, allocations: 0 / 400.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.388e-05/0.2937, allocations: 1.438 kB / 400.4 MB, free: 0.75 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.004973/0.2987, allocations: 2.532 MB / 402.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2988, allocations: 9.375 kB / 402.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003789/0.2991, allocations: 274.2 kB / 403.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.2999, allocations: 263.8 kB / 403.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.3021, allocations: 1.234 MB / 404.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.3022, allocations: 137.1 kB / 404.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.3025, allocations: 194.1 kB / 405 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.3065, allocations: 2.372 MB / 407.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.3066, allocations: 2.469 kB / 407.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.3067, allocations: 72.47 kB / 407.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.3068, allocations: 92.16 kB / 407.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.3102, allocations: 1.965 MB / 409.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.321, allocations: 7.079 MB / 416.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3229, allocations: 1.283 MB / 417.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.3244, allocations: 0.8548 MB / 418.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.3247, allocations: 122.1 kB / 418.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3247, allocations: 43.5 kB / 418.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.916e-06/0.3247, allocations: 4 kB / 418.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01307/0.3378, allocations: 5.924 MB / 424.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3379, allocations: 64.41 kB / 424.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.3397, allocations: 1.215 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.3398, allocations: 45.7 kB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/0.3405, allocations: 0.8839 MB / 427 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.3408, allocations: 384.8 kB / 427.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.3411, allocations: 218.9 kB / 427.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3413, allocations: 361.9 kB / 427.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.3423, allocations: 0.6116 MB / 428.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3436, allocations: 0.9275 MB / 429.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.3459, allocations: 1.636 MB / 431.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.346, allocations: 0 / 431.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003757/0.3497, allocations: 2.232 MB / 433.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.3498, allocations: 15.94 kB / 433.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.3498, allocations: 8 kB / 433.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3509, allocations: 480.1 kB / 433.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/0.3518, allocations: 267.6 kB / 434.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/0.3589, allocations: 7.03 MB / 441.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3601, allocations: 83.97 kB / 441.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3602, allocations: 48 kB / 441.2 MB, free: 12.08 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.001073/0.3613, allocations: 0.595 MB / 441.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3616, allocations: 139.1 kB / 442 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.365, allocations: 2.024 MB / 444 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3651, allocations: 8 kB / 444 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3651, allocations: 4 kB / 444 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3651, allocations: 11.98 kB / 444 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/0.3719, allocations: 4.209 MB / 448.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.372, allocations: 4 kB / 448.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.3727, allocations: 179.7 kB / 448.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.3741, allocations: 0.5279 MB / 448.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/0.3742, allocations: 31.98 kB / 449 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008329/0.3825, allocations: 8.613 MB / 457.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3825, allocations: 8 kB / 457.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/0.3873, allocations: 2.958 MB / 460.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/0.3881, allocations: 356 kB / 460.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.3883, allocations: 35.92 kB / 460.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.389, allocations: 67.92 kB / 461 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.3893, allocations: 96.75 kB / 461.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.3894, allocations: 32 kB / 461.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.3907, allocations: 0.8382 MB / 462 MB, free: 6.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3907, allocations: 0 / 462 MB, free: 6.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001442/0.3921, allocations: 408 kB / 462.4 MB, free: 6.062 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.005038/0.3972, allocations: 3.582 MB / 465.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003467/0.4007, allocations: 2.17 MB / 468.1 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.4007, allocations: 4 kB / 468.1 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.403, allocations: 1.475 MB / 469.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.405, allocations: 383 kB / 470 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.4284, allocations: 15.18 MB / 485.1 MB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.4298, allocations: 1.634 MB / 486.8 MB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008798/0.4307, allocations: 303.7 kB / 487.1 MB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/0.4316, allocations: 0.6828 MB / 487.8 MB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4317, allocations: 0 / 487.8 MB, free: 11.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09083/0.5225, allocations: 37.32 MB / 0.5128 GB, free: 6.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.6, allocations: 15.98 kB / 0.5128 GB, free: 6.293 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