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.001253/0.001259, allocations: 106.5 kB / 17.72 MB, free: 5.352 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.001178/0.001179, allocations: 191 kB / 18.66 MB, free: 4.422 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.458/1.458, 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.001452/0.001452, allocations: 47.94 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09941, allocations: 46.63 MB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.2156/0.3151, allocations: 8.793 MB / 383.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.3217, allocations: 2.89 MB / 386.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.3234, allocations: 39.31 kB / 386.4 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.3255, allocations: 0.5992 MB / 387 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.3286, allocations: 0.6931 MB / 387.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3296, allocations: 329.4 kB / 388 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003586/0.3332, allocations: 2.247 MB / 390.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.3356, allocations: 1.699 MB / 391.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.3376, allocations: 1.015 MB / 393 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.3399, allocations: 1.284 MB / 394.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005838/0.3405, allocations: 269.6 kB / 394.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3416, allocations: 359.1 kB / 394.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000859/0.3424, allocations: 0.763 MB / 395.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.3441, allocations: 1.204 MB / 396.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.3488, allocations: 3.527 MB / 400.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3488, allocations: 0 / 400.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3489, allocations: 0 / 400.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001065/0.349, allocations: 4 kB / 400.3 MB, free: 0.7734 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.006056/0.355, allocations: 2.48 MB / 402.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3551, allocations: 10.03 kB / 402.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004007/0.3555, allocations: 270.3 kB / 403.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007803/0.3563, allocations: 250.2 kB / 403.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.3589, allocations: 1.227 MB / 404.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.359, allocations: 139.8 kB / 404.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.3593, allocations: 181.6 kB / 404.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004545/0.3639, allocations: 2.367 MB / 407.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.328e-05/0.3639, allocations: 10.75 kB / 407.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.3641, allocations: 76.14 kB / 407.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3642, allocations: 91.88 kB / 407.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/0.3679, allocations: 1.964 MB / 409.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.3804, allocations: 7.054 MB / 416.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.3822, allocations: 1.276 MB / 417.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.3838, allocations: 0.8548 MB / 418.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.3841, allocations: 131.6 kB / 418.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3841, allocations: 47.5 kB / 418.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.3841, allocations: 0 / 418.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01343/0.3976, allocations: 5.897 MB / 424.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3977, allocations: 64.41 kB / 424.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.3995, allocations: 1.207 MB / 425.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3996, allocations: 41.7 kB / 426 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.4002, allocations: 0.869 MB / 426.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.4005, allocations: 370.7 kB / 427.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.4009, allocations: 218.8 kB / 427.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.401, allocations: 353.9 kB / 427.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.402, allocations: 0.6116 MB / 428.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.4032, allocations: 0.9236 MB / 429.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.4054, allocations: 1.644 MB / 430.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4054, allocations: 0 / 430.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003628/0.409, allocations: 2.219 MB / 433.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4091, allocations: 15.98 kB / 433.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4091, allocations: 13.38 kB / 433.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4102, allocations: 487.9 kB / 433.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/0.4111, allocations: 263.6 kB / 433.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.4175, allocations: 7.017 MB / 440.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4187, allocations: 79.91 kB / 441 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.4188, allocations: 48 kB / 441 MB, free: 12.3 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.001152/0.4199, allocations: 0.6028 MB / 441.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.4202, allocations: 138.2 kB / 441.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/0.4236, allocations: 2.02 MB / 443.8 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4236, allocations: 11.98 kB / 443.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4237, allocations: 8 kB / 443.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.4237, allocations: 7.969 kB / 443.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006971/0.4306, allocations: 4.205 MB / 448 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4307, allocations: 4 kB / 448 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.4314, allocations: 184.2 kB / 448.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.4328, allocations: 0.5274 MB / 448.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.4329, allocations: 31.98 kB / 448.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/0.4406, allocations: 8.612 MB / 457.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4406, allocations: 4 kB / 457.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004893/0.4455, allocations: 2.945 MB / 460.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.4465, allocations: 343.4 kB / 460.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.4469, allocations: 31.94 kB / 460.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.4478, allocations: 79.91 kB / 460.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.448, allocations: 88.77 kB / 460.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.4481, allocations: 35.98 kB / 460.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001331/0.4495, allocations: 0.8381 MB / 461.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4495, allocations: 4 kB / 461.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0019/0.4514, allocations: 411.9 kB / 462.2 MB, free: 6.293 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.005239/0.4566, allocations: 3.573 MB / 465.7 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003615/0.4603, allocations: 2.158 MB / 467.9 MB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.4603, allocations: 8.25 kB / 467.9 MB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.4626, allocations: 1.479 MB / 469.4 MB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.4654, allocations: 385.2 kB / 469.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/0.4934, allocations: 15.11 MB / 484.9 MB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/0.4952, allocations: 1.63 MB / 486.5 MB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009808/0.4962, allocations: 295.8 kB / 486.8 MB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/0.4971, allocations: 0.6867 MB / 487.5 MB, free: 12.06 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4971, allocations: 0 / 487.5 MB, free: 12.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/0.5821, allocations: 37.81 MB / 0.513 GB, free: 6.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.06, allocations: 11.98 kB / 0.513 GB, free: 6.129 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