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.ForceCurrentBehaviour.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.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 194.8 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003711, allocations: 15.92 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3014, allocations: 44.49 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009019/0.3105, allocations: 5.12 MB / 313.7 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.3157, allocations: 2.04 MB / 315.7 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000965/0.3167, allocations: 19.94 kB / 315.7 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009084/0.3177, allocations: 286.6 kB / 316 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.3195, allocations: 490.6 kB / 316.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3205, allocations: 227.6 kB / 316.7 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.3228, allocations: 0.9515 MB / 317.7 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.3237, allocations: 378 kB / 318 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009207/0.3247, allocations: 454.3 kB / 318.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.3257, allocations: 0.533 MB / 319 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.3259, allocations: 60 kB / 319.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.3263, allocations: 76 kB / 319.1 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.3266, allocations: 215.1 kB / 319.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.327, allocations: 249.1 kB / 319.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.3291, allocations: 1.512 MB / 321.1 MB, free: 36 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3291, allocations: 0 / 321.1 MB, free: 36 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3291, allocations: 0 / 321.1 MB, free: 36 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.3292, allocations: 0 / 321.1 MB, free: 36 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004798/0.334, allocations: 1.4 MB / 322.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.334, allocations: 8.031 kB / 322.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.3344, allocations: 151.9 kB / 322.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.3347, allocations: 130.4 kB / 322.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.3364, allocations: 0.668 MB / 323.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3367, allocations: 81.98 kB / 323.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.3369, allocations: 99.84 kB / 323.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.3403, allocations: 1.025 MB / 324.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.3403, allocations: 7.984 kB / 324.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.3405, allocations: 43.95 kB / 324.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.3405, allocations: 24 kB / 324.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.3442, allocations: 0.9421 MB / 325.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009214/0.3535, allocations: 3.676 MB / 329.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/0.3594, allocations: 1.095 MB / 330.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.3596, allocations: 4.188 kB / 330.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.3596, allocations: 46.73 kB / 330.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.995e-06/0.3596, allocations: 7.938 kB / 330.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.0086/0.3682, allocations: 1.965 MB / 332.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.3684, allocations: 93.06 kB / 332.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.3704, allocations: 0.9622 MB / 333.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.3705, allocations: 33.7 kB / 333.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.3711, allocations: 0.526 MB / 334.1 MB, free: 2.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.3714, allocations: 228.7 kB / 334.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.3715, allocations: 16 kB / 334.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3717, allocations: 345.9 kB / 334.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.3734, allocations: 381.8 kB / 335 MB, free: 1.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.3753, allocations: 0.5538 MB / 335.6 MB, free: 1.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.3772, allocations: 456.8 kB / 336 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3772, allocations: 0 / 336 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004311/0.3815, allocations: 1.129 MB / 337.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.3816, allocations: 36.52 kB / 337.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3816, allocations: 7.953 kB / 337.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.449e-05/0.3817, allocations: 12 kB / 337.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.3841, allocations: 319.6 kB / 337.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/0.3841, allocations: 11.94 kB / 337.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3857, allocations: 95.92 kB / 337.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.3858, allocations: 31.98 kB / 337.7 MB, free: 14.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006778/0.3865, allocations: 281.6 kB / 337.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.3867, allocations: 102.8 kB / 338 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.3885, allocations: 430 kB / 338.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3885, allocations: 7.953 kB / 338.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3885, allocations: 4 kB / 338.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.3885, allocations: 3.984 kB / 338.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/0.3951, allocations: 2.334 MB / 340.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3952, allocations: 4 kB / 340.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.3969, allocations: 239.8 kB / 341.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.397, allocations: 12 kB / 341.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.397, allocations: 23.98 kB / 341.1 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.3971, allocations: 11.94 kB / 341.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.3971, allocations: 11.94 kB / 341.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.4001, allocations: 1.076 MB / 342.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.4006, allocations: 183.9 kB / 342.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.4008, allocations: 20 kB / 342.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.4019, allocations: 67.95 kB / 342.5 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.4021, allocations: 59.77 kB / 342.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/0.4022, allocations: 27.98 kB / 342.5 MB, free: 9.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001411/0.4036, allocations: 0.6708 MB / 343.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4036, allocations: 0 / 343.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001215/0.4048, allocations: 212 kB / 343.4 MB, free: 8.953 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004124/0.409, allocations: 1.781 MB / 345.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.4126, allocations: 0.8657 MB / 346.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.4127, allocations: 0 / 346.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4143, allocations: 389.8 kB / 346.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.4159, allocations: 170.8 kB / 346.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/0.4232, allocations: 2.99 MB / 349.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009279/0.4242, allocations: 1.038 MB / 350.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001103/0.4253, allocations: 119.1 kB / 350.8 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/0.4263, allocations: 383.3 kB / 351.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of SimCode: time 3.407e-06/0.4263, allocations: 0 / 351.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07652/0.5028, allocations: 17.53 MB / 368.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.5032, allocations: 262.6 kB / 368.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.378/3.881, allocations: 0 / 368.9 MB, free: 15.02 MB / 314.7 MB