Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.995e-05, allocations: 0 / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.0934, allocations: 44.52 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4037/0.4971, allocations: 82.5 MB / 382.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.4975, allocations: 79.64 kB / 382.5 MB, free: 12.74 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.137/0.6345, allocations: 35.67 MB / 418.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6345, allocations: 0 / 418.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.6345, allocations: 22.88 kB / 418.2 MB, free: 3.738 MB / 314.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.003067/0.6376, allocations: 1.138 MB / 419.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6377, allocations: 11.86 kB / 419.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.6379, allocations: 144.3 kB / 419.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.6382, allocations: 123.5 kB / 419.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6393, allocations: 0.5995 MB / 420.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.6395, allocations: 85.05 kB / 420.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.6397, allocations: 101.8 kB / 420.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.6419, allocations: 0.9409 MB / 421.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.642, allocations: 0 / 421.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.6421, allocations: 42.12 kB / 421.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.6421, allocations: 23.25 kB / 421.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.6441, allocations: 0.7834 MB / 422.2 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/0.6511, allocations: 3.562 MB / 425.8 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.6527, allocations: 0.8008 MB / 426.6 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.6538, allocations: 460.2 kB / 427 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-05/0.6539, allocations: 13.81 kB / 427 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6539, allocations: 46.06 kB / 427.1 MB, free: 360 kB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.436e-06/0.6539, allocations: 0 / 427.1 MB, free: 360 kB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01369/0.6676, allocations: 4.273 MB / 431.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.6677, allocations: 93.89 kB / 431.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009917/0.6687, allocations: 0.5286 MB / 432 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6689, allocations: 45.58 kB / 432 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.6692, allocations: 441.9 kB / 432.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004785/0.6697, allocations: 453.6 kB / 432.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6698, allocations: 27.81 kB / 432.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.67, allocations: 362.4 kB / 433.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/0.671, allocations: 375.6 kB / 433.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.6722, allocations: 0.5015 MB / 434.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.6733, allocations: 422.9 kB / 434.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6733, allocations: 3.875 kB / 434.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002986/0.6763, allocations: 1.164 MB / 435.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6763, allocations: 6.5 kB / 435.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.6764, allocations: 7.234 kB / 435.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.677, allocations: 148.1 kB / 435.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.6792, allocations: 284.2 kB / 436.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/0.6846, allocations: 4.774 MB / 440.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.6862, allocations: 79.94 kB / 441 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.6863, allocations: 43.98 kB / 441 MB, free: 6.363 MB / 330.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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.6867, allocations: 168.9 kB / 441.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.687, allocations: 98.77 kB / 441.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.6892, allocations: 0.7911 MB / 442.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.6893, allocations: 16 kB / 442.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6893, allocations: 0 / 442.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.6893, allocations: 11.97 kB / 442.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/0.696, allocations: 2.97 MB / 445.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.6961, allocations: 4.312 kB / 445.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.6982, allocations: 251.7 kB / 445.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006007/0.6988, allocations: 130.5 kB / 445.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.6989, allocations: 35.94 kB / 445.5 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.7038, allocations: 4.377 MB / 449.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/0.7039, allocations: 15.92 kB / 449.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/0.7084, allocations: 1.948 MB / 451.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.7088, allocations: 176 kB / 452 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.709, allocations: 24 kB / 452 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7102, allocations: 79.95 kB / 452.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.7105, allocations: 92.55 kB / 452.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7106, allocations: 39.98 kB / 452.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009072/0.7115, allocations: 435.2 kB / 452.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7115, allocations: 0 / 452.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001432/0.713, allocations: 272 kB / 452.9 MB, free: 9.805 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005137/0.7181, allocations: 3.313 MB / 456.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003331/0.7215, allocations: 1.362 MB / 457.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.7215, allocations: 0 / 457.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.7234, allocations: 0.9298 MB / 458.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.7249, allocations: 155.7 kB / 458.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.7306, allocations: 1.995 MB / 460.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/0.7315, allocations: 1.064 MB / 461.8 MB, free: 0.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.7326, allocations: 403.2 kB / 462.1 MB, free: 320 kB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7326, allocations: 0 / 462.1 MB, free: 320 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/3.839, allocations: 31.41 MB / 493.6 MB, free: 0.875 MB / 378.7 MB