Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.793e-05, allocations: 0 / 292.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 50.41 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5452, allocations: 89.37 MB / 432 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.5455, allocations: 91.53 kB / 432.1 MB, free: 4.5 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.161/0.7065, allocations: 36.88 MB / 469 MB, free: 4.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7066, allocations: 0 / 469 MB, free: 4.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.317e-05/0.7067, allocations: 20 kB / 469 MB, free: 4.113 MB / 378.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.003938/0.7106, allocations: 1.139 MB / 470.1 MB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.7107, allocations: 8.031 kB / 470.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004071/0.7111, allocations: 152.1 kB / 470.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.7115, allocations: 126.5 kB / 470.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7131, allocations: 0.5979 MB / 471 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.7133, allocations: 78 kB / 471.1 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.7136, allocations: 103.9 kB / 471.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.7163, allocations: 0.923 MB / 472.1 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.7164, allocations: 11.92 kB / 472.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.7166, allocations: 40 kB / 472.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.7166, allocations: 24 kB / 472.2 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.719, allocations: 0.7656 MB / 473 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009908/0.729, allocations: 3.576 MB / 476.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.731, allocations: 0.7728 MB / 477.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.7323, allocations: 464.7 kB / 477.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.7324, allocations: 20.48 kB / 477.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.7325, allocations: 47.7 kB / 477.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 3.396e-06/0.7325, allocations: 0 / 477.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.01849/0.751, allocations: 4.261 MB / 482.1 MB, free: 6.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.7511, allocations: 90.33 kB / 482.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.7528, allocations: 0.5323 MB / 482.7 MB, free: 5.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.7531, allocations: 53.64 kB / 482.8 MB, free: 5.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.7537, allocations: 424.3 kB / 483.2 MB, free: 5.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.7544, allocations: 441.5 kB / 483.6 MB, free: 4.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.7546, allocations: 24 kB / 483.6 MB, free: 4.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002674/0.7548, allocations: 394.7 kB / 484 MB, free: 4.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.7565, allocations: 370.6 kB / 484.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.7584, allocations: 0.498 MB / 484.9 MB, free: 3.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.76, allocations: 427.7 kB / 485.3 MB, free: 3.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.7601, allocations: 3.984 kB / 485.3 MB, free: 3.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005122/0.7652, allocations: 1.203 MB / 486.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.7653, allocations: 11.94 kB / 486.5 MB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.7653, allocations: 0 / 486.5 MB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008787/0.7662, allocations: 154.6 kB / 486.7 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/0.7697, allocations: 299.6 kB / 487 MB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007571/0.7773, allocations: 4.748 MB / 491.7 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.7791, allocations: 84 kB / 491.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.7792, allocations: 44.14 kB / 491.8 MB, free: 12.29 MB / 410.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.0003677/0.7796, allocations: 180.6 kB / 492 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.7799, allocations: 90.88 kB / 492.1 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.7822, allocations: 0.795 MB / 492.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.7822, allocations: 12 kB / 492.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.7822, allocations: 4 kB / 492.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/0.7823, allocations: 11.92 kB / 492.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/0.7893, allocations: 2.966 MB / 495.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.7894, allocations: 4 kB / 495.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/0.7915, allocations: 259.6 kB / 496.1 MB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006395/0.7922, allocations: 126.6 kB / 496.3 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.7923, allocations: 24 kB / 496.3 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.7969, allocations: 4.393 MB / 0.4889 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7969, allocations: 0 / 0.4889 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.8021, allocations: 1.952 MB / 0.4909 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/0.8029, allocations: 176 kB / 0.491 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/0.8033, allocations: 24 kB / 0.491 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/0.8056, allocations: 83.84 kB / 0.4911 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/0.8061, allocations: 88.66 kB / 0.4912 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/0.8063, allocations: 39.98 kB / 0.4912 GB, free: 392 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.808, allocations: 431.3 kB / 0.4917 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.808, allocations: 0 / 0.4917 GB, free: 15.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003788/0.8118, allocations: 276 kB / 0.4919 GB, free: 15.69 MB / 426.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.01044/0.8223, allocations: 3.318 MB / 0.4952 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.8287, allocations: 1.324 MB / 0.4965 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.8288, allocations: 0 / 0.4965 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003785/0.8326, allocations: 0.8866 MB / 0.4973 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.8358, allocations: 155.9 kB / 0.4975 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007938/0.8438, allocations: 1.957 MB / 0.4994 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/0.8447, allocations: 1.064 MB / 0.5004 GB, free: 6.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.8459, allocations: 119.9 kB / 0.5005 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009461/0.8469, allocations: 391.2 kB / 0.5009 GB, free: 6.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8469, allocations: 0 / 0.5009 GB, free: 6.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/0.9181, allocations: 20.27 MB / 0.5207 GB, free: 2.184 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.9185, allocations: 192.8 kB / 0.5209 GB, free: 1.965 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/4.32, allocations: 4 kB / 0.5209 GB, free: 1.961 MB / 442.7 MB