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.001376/0.001375, allocations: 114.4 kB / 17.74 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.001625/0.001625, allocations: 183.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.48/1.48, 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.001295/0.001295, allocations: 59.91 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.0956, 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.2021/0.2977, allocations: 8.793 MB / 383.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.3035, allocations: 2.892 MB / 386.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.3048, allocations: 36.72 kB / 386.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.3065, allocations: 0.6374 MB / 387 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.3088, allocations: 0.7303 MB / 387.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.3095, allocations: 326.7 kB / 388.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.3119, allocations: 2.235 MB / 390.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.3138, allocations: 1.707 MB / 392 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.3155, allocations: 1.012 MB / 393 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.3172, allocations: 1.282 MB / 394.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.3176, allocations: 270.3 kB / 394.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.3184, allocations: 355.8 kB / 394.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009777/0.3194, allocations: 0.7706 MB / 395.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.3212, allocations: 1.203 MB / 396.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.3259, allocations: 3.532 MB / 400.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3259, allocations: 1.375 kB / 400.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3259, allocations: 0 / 400.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.384e-05/0.326, allocations: 0 / 400.4 MB, free: 0.9102 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.004858/0.3309, allocations: 2.539 MB / 403 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.331, allocations: 9.938 kB / 403 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003966/0.3314, allocations: 271.3 kB / 403.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006954/0.3321, allocations: 266.8 kB / 403.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.3344, allocations: 1.232 MB / 404.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.3345, allocations: 136.1 kB / 404.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.3349, allocations: 184.3 kB / 405 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.3392, allocations: 2.372 MB / 407.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.3393, allocations: 8.047 kB / 407.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.3394, allocations: 78.8 kB / 407.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.3396, allocations: 93.33 kB / 407.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.3434, allocations: 1.959 MB / 409.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.3547, allocations: 7.087 MB / 416.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3564, allocations: 1.272 MB / 417.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3579, allocations: 0.8581 MB / 418.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.3582, allocations: 118.1 kB / 418.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3582, allocations: 48.02 kB / 418.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 4.789e-06/0.3582, allocations: 0 / 418.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01274/0.371, allocations: 5.932 MB / 424.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.371, allocations: 64.41 kB / 424.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.3727, allocations: 1.211 MB / 426.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.3728, allocations: 45.7 kB / 426.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.3734, allocations: 0.887 MB / 427.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.3737, allocations: 388.8 kB / 427.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.374, allocations: 215.5 kB / 427.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3741, allocations: 357.9 kB / 428 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009573/0.3751, allocations: 0.6194 MB / 428.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3763, allocations: 0.9197 MB / 429.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.3785, allocations: 1.636 MB / 431.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3785, allocations: 4 kB / 431.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003473/0.382, allocations: 2.228 MB / 433.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.382, allocations: 11.94 kB / 433.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3821, allocations: 8 kB / 433.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3831, allocations: 492.6 kB / 433.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.384, allocations: 267.6 kB / 434.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.3902, allocations: 7.03 MB / 441.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.3913, allocations: 79.92 kB / 441.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.3914, allocations: 47.98 kB / 441.3 MB, free: 12.16 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.001012/0.3924, allocations: 0.5989 MB / 441.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.3927, allocations: 143.1 kB / 442.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.396, allocations: 2.016 MB / 444.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.396, allocations: 16 kB / 444.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.396, allocations: 4 kB / 444.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.396, allocations: 7.969 kB / 444.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/0.4025, allocations: 4.213 MB / 448.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4025, allocations: 4 kB / 448.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.4032, allocations: 179.7 kB / 448.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.4045, allocations: 0.5198 MB / 449 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.4046, allocations: 35.98 kB / 449.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007502/0.4121, allocations: 8.613 MB / 457.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4121, allocations: 4 kB / 457.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004431/0.4165, allocations: 2.965 MB / 460.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/0.4173, allocations: 352.1 kB / 461 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.4175, allocations: 31.94 kB / 461 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.4183, allocations: 63.92 kB / 461.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.4185, allocations: 96.75 kB / 461.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.4186, allocations: 35.98 kB / 461.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.4198, allocations: 0.8382 MB / 462 MB, free: 6.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4198, allocations: 0 / 462 MB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001444/0.4213, allocations: 407.9 kB / 462.4 MB, free: 6.141 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.004566/0.4258, allocations: 3.581 MB / 466 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.429, allocations: 2.166 MB / 468.2 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.429, allocations: 0 / 468.2 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.4311, allocations: 1.484 MB / 469.7 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.4329, allocations: 385.7 kB / 470 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/0.4543, allocations: 15.18 MB / 485.2 MB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.4557, allocations: 1.63 MB / 486.9 MB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008863/0.4566, allocations: 295.8 kB / 487.1 MB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/0.4575, allocations: 0.6867 MB / 487.8 MB, free: 11.82 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4575, allocations: 4 kB / 487.8 MB, free: 11.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07906/0.5365, allocations: 37.32 MB / 0.5129 GB, free: 6.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.64, allocations: 8.047 kB / 0.5129 GB, free: 6.375 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