Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_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.001527/0.001527, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001701/0.001701, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009299/0.0009299, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2173, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01013/0.2275, allocations: 9.694 MB / 409.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004967/0.2325, allocations: 3.03 MB / 413 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.2333, allocations: 47.81 kB / 413 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.2347, allocations: 0.6209 MB / 413.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.2364, allocations: 0.7414 MB / 414.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.2372, allocations: 375.4 kB / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.2395, allocations: 2.425 MB / 417.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.2414, allocations: 1.751 MB / 418.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.2427, allocations: 1.067 MB / 420 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.2442, allocations: 1.308 MB / 421.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.2446, allocations: 280 kB / 421.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005586/0.2451, allocations: 367.8 kB / 421.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006724/0.2458, allocations: 0.783 MB / 422.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.247, allocations: 1.264 MB / 424 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.25, allocations: 3.637 MB / 427.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2501, allocations: 0 / 427.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2501, allocations: 0 / 427.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.774e-05/0.2501, allocations: 0 / 427.6 MB, free: 13.29 MB / 350.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.004589/0.2547, allocations: 2.591 MB / 430.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2548, allocations: 11.89 kB / 430.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003269/0.2551, allocations: 278.6 kB / 430.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.2558, allocations: 266.1 kB / 430.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.2579, allocations: 1.349 MB / 432.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.258, allocations: 144.2 kB / 432.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.2583, allocations: 195.8 kB / 432.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/0.262, allocations: 2.419 MB / 434.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.2621, allocations: 7.906 kB / 434.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.2623, allocations: 79.94 kB / 434.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.555e-05/0.2624, allocations: 95.67 kB / 435 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/0.2655, allocations: 1.959 MB / 437 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.2771, allocations: 7.761 MB / 444.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.2788, allocations: 1.236 MB / 446 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.2807, allocations: 0.9639 MB / 446.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.2809, allocations: 118.1 kB / 447.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.281, allocations: 47.56 kB / 447.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.007e-06/0.281, allocations: 0 / 447.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.013/0.294, allocations: 5.87 MB / 453 MB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.2941, allocations: 68.34 kB / 453 MB, free: 3.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.2961, allocations: 1.302 MB / 454.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/0.2962, allocations: 45.7 kB / 454.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/0.2968, allocations: 0.916 MB / 455.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.2971, allocations: 394.4 kB / 455.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.2975, allocations: 247.4 kB / 455.9 MB, free: 296 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2976, allocations: 357.9 kB / 456.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009693/0.2986, allocations: 0.6364 MB / 456.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.2998, allocations: 1 MB / 457.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.3021, allocations: 1.735 MB / 459.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3021, allocations: 3.938 kB / 459.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00377/0.3059, allocations: 2.249 MB / 461.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3059, allocations: 8 kB / 461.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.306, allocations: 12.31 kB / 461.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3072, allocations: 0.4944 MB / 462.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.3083, allocations: 299.5 kB / 462.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.3154, allocations: 7.12 MB / 469.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3166, allocations: 95.88 kB / 469.9 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.3168, allocations: 52 kB / 470 MB, free: 1.484 MB / 382.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.001015/0.3178, allocations: 0.6026 MB / 470.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.3181, allocations: 142.3 kB / 470.7 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.3216, allocations: 1.964 MB / 472.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.3216, allocations: 12 kB / 472.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3217, allocations: 4 kB / 472.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3217, allocations: 7.969 kB / 472.7 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/0.3292, allocations: 4.117 MB / 476.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.3292, allocations: 4.281 kB / 476.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.33, allocations: 187.7 kB / 477 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.3316, allocations: 0.5348 MB / 477.5 MB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.742e-05/0.3317, allocations: 35.92 kB / 477.6 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00861/0.3403, allocations: 8.756 MB / 486.3 MB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3403, allocations: 3.938 kB / 486.3 MB, free: 424 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.3449, allocations: 2.851 MB / 489.2 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/0.3458, allocations: 351.2 kB / 489.5 MB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.3461, allocations: 27.98 kB / 489.6 MB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/0.347, allocations: 72.39 kB / 489.6 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.3473, allocations: 92.84 kB / 489.7 MB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.3474, allocations: 32 kB / 489.8 MB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.3489, allocations: 0.8839 MB / 490.6 MB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3489, allocations: 0 / 490.6 MB, free: 12.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001694/0.3506, allocations: 444.1 kB / 491.1 MB, free: 11.6 MB / 414.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.004926/0.3555, allocations: 3.49 MB / 494.6 MB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.359, allocations: 2.248 MB / 496.8 MB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.359, allocations: 192 / 496.8 MB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.3613, allocations: 1.498 MB / 498.3 MB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.3634, allocations: 409.9 kB / 498.7 MB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/0.387, allocations: 15.61 MB / 0.5023 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.3886, allocations: 1.642 MB / 0.5039 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009651/0.3896, allocations: 324.8 kB / 0.5042 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/0.3905, allocations: 0.718 MB / 0.5049 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3905, allocations: 4 kB / 0.5049 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2782/0.6687, allocations: 39.49 MB / 0.5434 GB, free: 133.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/19.59, allocations: 6.859 kB / 0.5435 GB, free: 133.6 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches