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.018/2.018, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.236e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.4498, allocations: 81.85 MB / 376.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.4501, allocations: 79.95 kB / 376.1 MB, free: 15.91 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.159/0.6092, allocations: 35.32 MB / 411.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6092, allocations: 0 / 411.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.62e-05/0.6093, allocations: 20 kB / 411.5 MB, free: 12.43 MB / 362.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.004246/0.6136, allocations: 1.142 MB / 412.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6136, allocations: 8.031 kB / 412.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005659/0.6142, allocations: 118.6 kB / 412.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.616, allocations: 0.6018 MB / 413.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.6163, allocations: 49.95 kB / 413.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.6165, allocations: 60 kB / 413.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002525/0.6191, allocations: 0.7225 MB / 414.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.6217, allocations: 0.8058 MB / 415 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.6218, allocations: 7.906 kB / 415 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.622, allocations: 0 / 415 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.622, allocations: 24 kB / 415 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009397/0.6314, allocations: 3.397 MB / 418.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.6334, allocations: 0.7493 MB / 419.2 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.6346, allocations: 427.7 kB / 419.6 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.6347, allocations: 24.28 kB / 419.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.6348, allocations: 47.12 kB / 419.7 MB, free: 3.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=95): time 4.429e-06/0.6348, allocations: 0 / 419.7 MB, free: 3.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.01213/0.6469, allocations: 3.658 MB / 423.3 MB, free: 132 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.647, allocations: 90.33 kB / 423.4 MB, free: 24 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2487/0.8957, allocations: 458.7 kB / 423.8 MB, free: 98.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.896, allocations: 26.23 kB / 423.9 MB, free: 98.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.8964, allocations: 428 kB / 424.3 MB, free: 97.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.8969, allocations: 432 kB / 424.7 MB, free: 97.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.897, allocations: 3.781 kB / 424.7 MB, free: 97.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.8972, allocations: 393.3 kB / 425.1 MB, free: 97.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.8983, allocations: 347.3 kB / 425.4 MB, free: 97.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.8994, allocations: 484.7 kB / 425.9 MB, free: 97.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.9004, allocations: 400.2 kB / 426.3 MB, free: 97.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.9005, allocations: 0.7969 kB / 426.3 MB, free: 97.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003155/0.9036, allocations: 1.106 MB / 427.4 MB, free: 97.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.9037, allocations: 5.469 kB / 427.4 MB, free: 97.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.9037, allocations: 3.219 kB / 427.4 MB, free: 97.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.9044, allocations: 147.3 kB / 427.6 MB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.9068, allocations: 292.3 kB / 427.9 MB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.9112, allocations: 4.599 MB / 432.4 MB, free: 93.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.9128, allocations: 59.53 kB / 432.5 MB, free: 93.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.913, allocations: 46.33 kB / 432.6 MB, free: 93.36 MB / 362.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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.9133, allocations: 126.3 kB / 432.7 MB, free: 93.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002592/0.9159, allocations: 0.9704 MB / 433.6 MB, free: 93.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.9163, allocations: 94.56 kB / 433.7 MB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.9182, allocations: 0.7127 MB / 434.5 MB, free: 92.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.9183, allocations: 13.09 kB / 434.5 MB, free: 92.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/0.9183, allocations: 12.92 kB / 434.5 MB, free: 92.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/0.9183, allocations: 11.52 kB / 434.5 MB, free: 92.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/0.9247, allocations: 2.737 MB / 437.2 MB, free: 92.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.9248, allocations: 2.75 kB / 437.2 MB, free: 92.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.9268, allocations: 254 kB / 437.5 MB, free: 92.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/0.9274, allocations: 121.1 kB / 437.6 MB, free: 92.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.9276, allocations: 15 kB / 437.6 MB, free: 92.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.931, allocations: 4.222 MB / 441.8 MB, free: 88.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.931, allocations: 6.375 kB / 441.8 MB, free: 88.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.9346, allocations: 1.852 MB / 443.7 MB, free: 88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.935, allocations: 158.4 kB / 443.8 MB, free: 87.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.9353, allocations: 11.67 kB / 443.9 MB, free: 87.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9365, allocations: 53.05 kB / 443.9 MB, free: 87.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.9368, allocations: 95.75 kB / 444 MB, free: 87.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/0.9369, allocations: 38.12 kB / 444 MB, free: 87.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005856/0.9375, allocations: 356.4 kB / 444.4 MB, free: 87.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9375, allocations: 0 / 444.4 MB, free: 87.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00154/0.939, allocations: 226.5 kB / 444.6 MB, free: 87.64 MB / 362.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.003868/0.9429, allocations: 3.182 MB / 447.8 MB, free: 85.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.9457, allocations: 1.294 MB / 449.1 MB, free: 84.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.9458, allocations: 3.938 kB / 449.1 MB, free: 84.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.9474, allocations: 0.8651 MB / 450 MB, free: 83.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.9489, allocations: 131.9 kB / 450.1 MB, free: 83.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.9543, allocations: 1.868 MB / 451.9 MB, free: 83.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.955, allocations: 1.064 MB / 453 MB, free: 82.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.9561, allocations: 121.8 kB / 453.1 MB, free: 82.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/0.9569, allocations: 383.8 kB / 453.5 MB, free: 81.99 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.9569, allocations: 0 / 453.5 MB, free: 81.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06932/1.026, allocations: 18.6 MB / 472.1 MB, free: 74.11 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.027, allocations: 162.1 kB / 472.3 MB, free: 73.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/4.288, allocations: 0 / 472.3 MB, free: 73.91 MB / 362.7 MB