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.001719/0.001719, allocations: 109.5 kB / 17.73 MB, free: 5.359 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.001899/0.001899, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.568/1.568, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001737/0.001738, allocations: 51.91 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.101, allocations: 46.62 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.2232/0.3243, allocations: 8.803 MB / 383.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005491/0.3298, allocations: 2.887 MB / 386.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3313, allocations: 36.22 kB / 386.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3332, allocations: 0.6057 MB / 387 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.3359, allocations: 0.6897 MB / 387.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.3369, allocations: 330 kB / 388 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.34, allocations: 2.244 MB / 390.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.342, allocations: 1.699 MB / 391.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.344, allocations: 1.006 MB / 392.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.3466, allocations: 1.282 MB / 394.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007288/0.3474, allocations: 270.3 kB / 394.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3487, allocations: 358 kB / 394.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009736/0.3497, allocations: 0.7608 MB / 395.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.3513, allocations: 1.206 MB / 396.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.3563, allocations: 3.537 MB / 400.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3564, allocations: 0 / 400.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3564, allocations: 4 kB / 400.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001066/0.3565, allocations: 0 / 400.4 MB, free: 0.7617 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.006374/0.3629, allocations: 2.536 MB / 402.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.3629, allocations: 17.88 kB / 402.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004669/0.3634, allocations: 266.3 kB / 403.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.3643, allocations: 259.4 kB / 403.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.3667, allocations: 1.234 MB / 404.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.3669, allocations: 136.3 kB / 404.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/0.3672, allocations: 189.4 kB / 405 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004724/0.372, allocations: 2.368 MB / 407.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.274e-05/0.3721, allocations: 10.78 kB / 407.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.3723, allocations: 75.14 kB / 407.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.3724, allocations: 91.62 kB / 407.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.3766, allocations: 1.96 MB / 409.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.3896, allocations: 7.081 MB / 416.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.3917, allocations: 1.281 MB / 417.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.3934, allocations: 0.8541 MB / 418.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.3937, allocations: 126.6 kB / 418.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.3937, allocations: 47.5 kB / 418.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.256e-06/0.3937, allocations: 0 / 418.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01484/0.4086, allocations: 5.924 MB / 424.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4087, allocations: 64.41 kB / 424.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.4108, allocations: 1.215 MB / 426.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.4109, allocations: 49.7 kB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.4117, allocations: 0.8831 MB / 427 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.4121, allocations: 380.8 kB / 427.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.4125, allocations: 222.9 kB / 427.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4126, allocations: 357.9 kB / 427.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.4137, allocations: 0.6116 MB / 428.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.4151, allocations: 0.9314 MB / 429.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.4176, allocations: 1.632 MB / 431.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4176, allocations: 0.9375 kB / 431.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004176/0.4218, allocations: 2.228 MB / 433.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4218, allocations: 12.25 kB / 433.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4219, allocations: 12 kB / 433.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.4231, allocations: 479.9 kB / 433.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4241, allocations: 267.6 kB / 434.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00762/0.4318, allocations: 7.03 MB / 441.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.4332, allocations: 79.91 kB / 441.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.4333, allocations: 48.16 kB / 441.2 MB, free: 12.11 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.001254/0.4346, allocations: 0.5989 MB / 441.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.4349, allocations: 147 kB / 442 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.4387, allocations: 2.024 MB / 444 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4388, allocations: 8 kB / 444 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4388, allocations: 4 kB / 444 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.4388, allocations: 3.984 kB / 444 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/0.4464, allocations: 4.213 MB / 448.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4464, allocations: 4.531 kB / 448.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007536/0.4472, allocations: 179.7 kB / 448.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.4486, allocations: 0.5313 MB / 448.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/0.4487, allocations: 31.97 kB / 449 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008804/0.4575, allocations: 8.605 MB / 457.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.4576, allocations: 8 kB / 457.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.4627, allocations: 2.957 MB / 460.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.4636, allocations: 356 kB / 460.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.4638, allocations: 31.92 kB / 460.9 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/0.4646, allocations: 75.92 kB / 461 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.4649, allocations: 92.75 kB / 461.1 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.465, allocations: 32 kB / 461.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.4664, allocations: 0.8421 MB / 462 MB, free: 6.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4664, allocations: 0 / 462 MB, free: 6.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001662/0.4681, allocations: 404 kB / 462.4 MB, free: 6.082 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.005314/0.4734, allocations: 3.585 MB / 465.9 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.4771, allocations: 2.166 MB / 468.1 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.4771, allocations: 4 kB / 468.1 MB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.4796, allocations: 1.471 MB / 469.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4817, allocations: 385.8 kB / 470 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/0.5084, allocations: 15.18 MB / 485.1 MB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.51, allocations: 1.638 MB / 486.8 MB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00102/0.511, allocations: 299.8 kB / 487.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/0.512, allocations: 0.6867 MB / 487.8 MB, free: 11.76 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5121, allocations: 0 / 487.8 MB, free: 11.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0928/0.6049, allocations: 37.32 MB / 0.5128 GB, free: 6.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.52, allocations: 11.98 kB / 0.5128 GB, free: 6.309 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 & 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