Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 194.9 MB / 211.1 MB, free: 7.504 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 8 kB / 264.1 MB, free: 2.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008219/0.3077, allocations: 5.042 MB / 313.6 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.3122, allocations: 1.821 MB / 315.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008948/0.3131, allocations: 16 kB / 315.4 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.3137, allocations: 158.9 kB / 315.6 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.3151, allocations: 418.7 kB / 316 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.316, allocations: 219.6 kB / 316.2 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.318, allocations: 0.9048 MB / 317.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007753/0.3188, allocations: 366 kB / 317.5 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.3197, allocations: 422.5 kB / 317.9 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008732/0.3206, allocations: 497.8 kB / 318.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.3208, allocations: 64 kB / 318.4 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.321, allocations: 60 kB / 318.5 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.3213, allocations: 195.2 kB / 318.7 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.3216, allocations: 241.1 kB / 318.9 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.3236, allocations: 1.45 MB / 320.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3236, allocations: 4 kB / 320.4 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3236, allocations: 0 / 320.4 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.009e-05/0.3237, allocations: 0 / 320.4 MB, free: 0.7578 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004481/0.3282, allocations: 1.297 MB / 321.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3282, allocations: 8.031 kB / 321.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/0.3286, allocations: 160 kB / 321.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.3289, allocations: 118.6 kB / 322 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.3304, allocations: 0.6408 MB / 322.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.3306, allocations: 78 kB / 322.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.3309, allocations: 95.94 kB / 322.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.3339, allocations: 1.021 MB / 323.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.3339, allocations: 7.906 kB / 323.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.3341, allocations: 43.95 kB / 323.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.3341, allocations: 24 kB / 323.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.3374, allocations: 0.907 MB / 324.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007574/0.345, allocations: 3.352 MB / 328.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.3473, allocations: 0.8314 MB / 329 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.628e-05/0.3474, allocations: 12.56 kB / 329 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.3475, allocations: 51.12 kB / 329 MB, free: 7.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 3.587e-06/0.3475, allocations: 0 / 329 MB, free: 7.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.01526/0.3627, allocations: 4.427 MB / 333.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3628, allocations: 93.77 kB / 333.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.364, allocations: 0.5968 MB / 334.1 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.3641, allocations: 49.7 kB / 334.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.3645, allocations: 424.1 kB / 334.6 MB, free: 2.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.365, allocations: 394.2 kB / 335 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.3651, allocations: 23.94 kB / 335 MB, free: 1.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.3653, allocations: 390.8 kB / 335.4 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3668, allocations: 406.4 kB / 335.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.3684, allocations: 0.5198 MB / 336.3 MB, free: 280 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.37, allocations: 451.9 kB / 336.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.37, allocations: 0 / 336.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003994/0.374, allocations: 1.224 MB / 338 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3741, allocations: 6.812 kB / 338 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3741, allocations: 4 kB / 338 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005592/0.3747, allocations: 134.4 kB / 338.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.3766, allocations: 255.7 kB / 338.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.3815, allocations: 4.552 MB / 342.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3828, allocations: 68.02 kB / 343 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.383, allocations: 47.97 kB / 343 MB, free: 9.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.3836, allocations: 284.7 kB / 343.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.3839, allocations: 94.88 kB / 343.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.3863, allocations: 0.7801 MB / 344.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.3864, allocations: 19.89 kB / 344.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.3864, allocations: 4 kB / 344.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.3864, allocations: 11.97 kB / 344.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006358/0.3928, allocations: 2.686 MB / 346.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.3928, allocations: 4 kB / 346.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.3945, allocations: 219.7 kB / 347.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006539/0.3952, allocations: 147.3 kB / 347.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.3953, allocations: 27.98 kB / 347.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005455/0.4007, allocations: 5.616 MB / 352.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4008, allocations: 3.938 kB / 352.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.4059, allocations: 1.795 MB / 354.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.4062, allocations: 160.1 kB / 354.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.4064, allocations: 27.95 kB / 354.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/0.4074, allocations: 63.95 kB / 354.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.4076, allocations: 80.39 kB / 355 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.4077, allocations: 31.98 kB / 355.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007998/0.4085, allocations: 439.1 kB / 355.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4085, allocations: 0 / 355.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001145/0.4097, allocations: 252 kB / 355.7 MB, free: 11.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005311/0.415, allocations: 2.374 MB / 358.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003821/0.4188, allocations: 1.377 MB / 359.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4189, allocations: 0 / 359.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.4211, allocations: 1.013 MB / 360.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.4223, allocations: 151.1 kB / 360.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.4376, allocations: 6.102 MB / 366.7 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/0.4385, allocations: 1.051 MB / 367.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008719/0.4394, allocations: 115.6 kB / 367.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/0.4401, allocations: 383.3 kB / 368.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4402, allocations: 0 / 368.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/0.6406, allocations: 18.97 MB / 387.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.641, allocations: 224.2 kB / 387.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/3.716, allocations: 0 / 387.5 MB, free: 11.56 MB / 330.7 MB