Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001474/0.001474, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.001337/0.001337, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.443/1.443, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00143/0.00143, allocations: 55.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01242/0.1216, allocations: 9.65 MB / 337 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008103/0.1297, allocations: 3.062 MB / 340.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.1316, allocations: 43.81 kB / 340.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.1342, allocations: 0.6288 MB / 340.8 MB, free: 6.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.1375, allocations: 0.7336 MB / 341.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1388, allocations: 379.4 kB / 341.9 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.1428, allocations: 2.444 MB / 344.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.1456, allocations: 1.723 MB / 346 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.1477, allocations: 1.071 MB / 347.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.1503, allocations: 1.312 MB / 348.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008724/0.1512, allocations: 280 kB / 348.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.1525, allocations: 375.7 kB / 349.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1537, allocations: 0.7752 MB / 349.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002471/0.1562, allocations: 1.264 MB / 351.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.161, allocations: 3.61 MB / 354.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.1611, allocations: 0 / 354.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1611, allocations: 0 / 354.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001759/0.1612, allocations: 0 / 354.7 MB, free: 8.883 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008196/0.1695, allocations: 2.579 MB / 357.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.1695, allocations: 12.03 kB / 357.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004705/0.17, allocations: 274.6 kB / 357.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.1709, allocations: 262.1 kB / 357.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.173, allocations: 1.26 MB / 359.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1731, allocations: 144.2 kB / 359.2 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/0.1734, allocations: 203.8 kB / 359.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.1775, allocations: 2.415 MB / 361.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.1776, allocations: 19.89 kB / 361.9 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.1778, allocations: 72 kB / 361.9 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.1779, allocations: 87.69 kB / 362 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.1813, allocations: 1.959 MB / 364 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.1934, allocations: 7.855 MB / 371.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.1951, allocations: 1.224 MB / 373.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.1968, allocations: 0.9479 MB / 374 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.1971, allocations: 118.1 kB / 374.1 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.1971, allocations: 43.56 kB / 374.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.577e-06/0.1971, allocations: 0 / 374.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.1645/0.3617, allocations: 5.869 MB / 380 MB, free: 51.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3618, allocations: 62.88 kB / 380.1 MB, free: 51.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.3639, allocations: 1.311 MB / 381.4 MB, free: 51.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.3641, allocations: 46.42 kB / 381.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/0.3648, allocations: 0.9167 MB / 382.4 MB, free: 50.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.3652, allocations: 392.4 kB / 382.8 MB, free: 50.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/0.3657, allocations: 249.9 kB / 383 MB, free: 50.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3658, allocations: 361.5 kB / 383.3 MB, free: 50.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.367, allocations: 0.6375 MB / 384 MB, free: 49.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.3682, allocations: 0.9942 MB / 385 MB, free: 49.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.3703, allocations: 1.736 MB / 386.7 MB, free: 48.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3703, allocations: 7.094 kB / 386.7 MB, free: 48.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003835/0.3742, allocations: 2.243 MB / 389 MB, free: 47.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.3742, allocations: 11.22 kB / 389 MB, free: 47.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.3743, allocations: 14.19 kB / 389 MB, free: 47.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.3755, allocations: 0.493 MB / 389.5 MB, free: 47.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.3766, allocations: 296.7 kB / 389.8 MB, free: 47.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.3823, allocations: 7.136 MB / 396.9 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.3833, allocations: 87.81 kB / 397 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/0.3834, allocations: 57.8 kB / 397.1 MB, free: 41.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008709/0.3843, allocations: 0.6064 MB / 397.7 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.3846, allocations: 144.3 kB / 397.8 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.3874, allocations: 1.965 MB / 399.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3874, allocations: 11.81 kB / 399.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3874, allocations: 7.578 kB / 399.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3874, allocations: 8.531 kB / 399.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.3926, allocations: 4.135 MB / 403.9 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3927, allocations: 3.781 kB / 403.9 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.3934, allocations: 182.6 kB / 404.1 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.3946, allocations: 0.5405 MB / 404.6 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.3947, allocations: 34.86 kB / 404.7 MB, free: 37.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.4006, allocations: 8.76 MB / 413.4 MB, free: 28.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4006, allocations: 0 / 413.4 MB, free: 28.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/0.404, allocations: 2.861 MB / 416.3 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005087/0.4046, allocations: 351.2 kB / 416.6 MB, free: 25.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.4048, allocations: 27.98 kB / 416.7 MB, free: 25.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.4055, allocations: 76.48 kB / 416.7 MB, free: 25.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.4057, allocations: 84.86 kB / 416.8 MB, free: 25.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.4057, allocations: 35.98 kB / 416.9 MB, free: 25.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000982/0.4067, allocations: 0.8839 MB / 417.7 MB, free: 24.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4067, allocations: 4 kB / 417.8 MB, free: 24.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001354/0.4081, allocations: 432 kB / 418.2 MB, free: 24.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.003647/0.4118, allocations: 3.481 MB / 421.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003444/0.4152, allocations: 2.574 MB / 424.2 MB, free: 17.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4152, allocations: 0 / 424.2 MB, free: 17.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.417, allocations: 1.503 MB / 425.7 MB, free: 16.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.4187, allocations: 414.9 kB / 426.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.4371, allocations: 16.94 MB / 443.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.4385, allocations: 1.658 MB / 444.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009881/0.4395, allocations: 320.8 kB / 445 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/0.4403, allocations: 0.718 MB / 445.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4403, allocations: 0 / 445.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.5492, allocations: 38.79 MB / 484.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.85, allocations: 12.2 kB / 484.6 MB, free: 4.355 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --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_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches