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 1.921/1.921, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.791e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.09912, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.537, allocations: 82.5 MB / 382.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.5375, allocations: 83.05 kB / 382.5 MB, free: 12.82 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.1492/0.6867, allocations: 35.67 MB / 418.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6868, allocations: 3.984 kB / 418.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.401e-05/0.6869, allocations: 19.44 kB / 418.2 MB, free: 3.691 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.003299/0.6902, allocations: 1.144 MB / 419.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6903, allocations: 15.59 kB / 419.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.6906, allocations: 147.5 kB / 419.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.691, allocations: 116.8 kB / 419.7 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.6923, allocations: 0.6001 MB / 420.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.6925, allocations: 83.75 kB / 420.3 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.6927, allocations: 97.91 kB / 420.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.6951, allocations: 0.9447 MB / 421.4 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.843e-05/0.6952, allocations: 7.875 kB / 421.4 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.6953, allocations: 38.38 kB / 421.4 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.6953, allocations: 23.19 kB / 421.4 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.6975, allocations: 0.7781 MB / 422.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008045/0.7055, allocations: 3.577 MB / 425.8 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.7074, allocations: 0.7932 MB / 426.6 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.7085, allocations: 462.7 kB / 427 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.7086, allocations: 10.62 kB / 427.1 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.7086, allocations: 45.86 kB / 427.1 MB, free: 312 kB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.837e-06/0.7087, allocations: 0 / 427.1 MB, free: 312 kB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01544/0.7241, allocations: 4.267 MB / 431.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.7242, allocations: 101.9 kB / 431.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.7254, allocations: 0.5265 MB / 432 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002768/0.7258, allocations: 49.58 kB / 432 MB, free: 13.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.7262, allocations: 418.6 kB / 432.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.7268, allocations: 446.8 kB / 432.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.727, allocations: 23.88 kB / 432.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002945/0.7273, allocations: 404.7 kB / 433.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.7284, allocations: 371.5 kB / 433.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.7297, allocations: 0.5017 MB / 434.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.7309, allocations: 430 kB / 434.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.731, allocations: 0 / 434.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003545/0.7345, allocations: 1.214 MB / 435.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.7346, allocations: 3.156 kB / 435.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.7346, allocations: 7.172 kB / 435.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/0.7354, allocations: 155.6 kB / 436 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.738, allocations: 290.4 kB / 436.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.744, allocations: 4.757 MB / 441 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.7458, allocations: 84 kB / 441.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.746, allocations: 47.98 kB / 441.1 MB, free: 5.914 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.0003748/0.7464, allocations: 164.7 kB / 441.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.7468, allocations: 98.83 kB / 441.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.7493, allocations: 0.7984 MB / 442.2 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.7494, allocations: 12 kB / 442.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.7494, allocations: 4 kB / 442.2 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.7495, allocations: 3.984 kB / 442.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008382/0.7579, allocations: 2.977 MB / 445.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.7579, allocations: 4 kB / 445.2 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/0.7602, allocations: 256 kB / 445.4 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007044/0.7609, allocations: 126.4 kB / 445.6 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.7612, allocations: 39.94 kB / 445.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005185/0.7664, allocations: 4.377 MB / 450 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7665, allocations: 4 kB / 450 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0067/0.7732, allocations: 1.956 MB / 451.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.774, allocations: 172 kB / 452.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005799/0.7746, allocations: 24 kB / 452.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.7772, allocations: 83.94 kB / 452.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005912/0.7778, allocations: 92.56 kB / 452.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/0.7781, allocations: 35.98 kB / 452.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.7797, allocations: 435.2 kB / 452.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.7797, allocations: 0 / 452.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003124/0.7828, allocations: 276 kB / 453 MB, free: 9.355 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.00604/0.789, allocations: 3.303 MB / 456.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.7927, allocations: 1.361 MB / 457.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.7928, allocations: 4 kB / 457.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.7951, allocations: 0.9311 MB / 458.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.7967, allocations: 150.9 kB / 458.8 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.8034, allocations: 1.966 MB / 460.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.8047, allocations: 1.064 MB / 461.8 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001678/0.8064, allocations: 123.9 kB / 461.9 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/0.8081, allocations: 399.1 kB / 462.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8081, allocations: 3.938 kB / 462.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/0.91, allocations: 20.39 MB / 482.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.9103, allocations: 193.4 kB / 482.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/4.256, allocations: 4.062 kB / 482.9 MB, free: 11.27 MB / 378.7 MB