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.96/1.96, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.198e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.4483, allocations: 81.84 MB / 376 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000431/0.4488, allocations: 80.03 kB / 376.1 MB, free: 15.94 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.1987/0.6475, allocations: 35.33 MB / 411.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6475, allocations: 0 / 411.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.99e-05/0.6476, allocations: 20 kB / 411.5 MB, free: 12.45 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.003551/0.6512, allocations: 1.142 MB / 412.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6512, allocations: 8.031 kB / 412.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.6515, allocations: 122.6 kB / 412.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6529, allocations: 0.5979 MB / 413.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.6531, allocations: 49.95 kB / 413.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.6534, allocations: 59.98 kB / 413.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002174/0.6555, allocations: 0.7264 MB / 414.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.6578, allocations: 0.7941 MB / 415 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.204e-05/0.6579, allocations: 15.89 kB / 415 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.658, allocations: 0 / 415 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.658, allocations: 28 kB / 415 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008083/0.6661, allocations: 3.393 MB / 418.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.6679, allocations: 0.7492 MB / 419.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.669, allocations: 427.2 kB / 419.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.6691, allocations: 20.3 kB / 419.6 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.6692, allocations: 43.12 kB / 419.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=95): time 3.617e-06/0.6692, allocations: 0 / 419.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.01086/0.68, allocations: 3.658 MB / 423.3 MB, free: 164 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.6801, allocations: 94.33 kB / 423.4 MB, free: 52 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.243/0.9232, allocations: 454 kB / 423.8 MB, free: 98.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.9235, allocations: 30.36 kB / 423.9 MB, free: 98.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.9238, allocations: 457.5 kB / 424.3 MB, free: 97.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.9243, allocations: 433.3 kB / 424.7 MB, free: 97.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.9244, allocations: 0 / 424.7 MB, free: 97.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9245, allocations: 355.6 kB / 425.1 MB, free: 97.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.9256, allocations: 348 kB / 425.4 MB, free: 97.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.9267, allocations: 483.1 kB / 425.9 MB, free: 97.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.9277, allocations: 402.1 kB / 426.3 MB, free: 97.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.9277, allocations: 2.219 kB / 426.3 MB, free: 97.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002808/0.9305, allocations: 1.062 MB / 427.3 MB, free: 97.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.9306, allocations: 6.469 kB / 427.3 MB, free: 97.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.9306, allocations: 3.094 kB / 427.3 MB, free: 97.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.9313, allocations: 153.6 kB / 427.5 MB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.9335, allocations: 290.9 kB / 427.8 MB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.9378, allocations: 4.607 MB / 432.4 MB, free: 93.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.9394, allocations: 55.14 kB / 432.4 MB, free: 93.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.9395, allocations: 47.17 kB / 432.5 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.0002745/0.9398, allocations: 123.5 kB / 432.6 MB, free: 93.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002434/0.9423, allocations: 0.972 MB / 433.6 MB, free: 93.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.9425, allocations: 90.47 kB / 433.7 MB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.9444, allocations: 0.7182 MB / 434.4 MB, free: 92.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.9444, allocations: 12.62 kB / 434.4 MB, free: 92.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.9444, allocations: 7.297 kB / 434.4 MB, free: 92.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.9445, allocations: 7.406 kB / 434.4 MB, free: 92.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005673/0.9501, allocations: 2.746 MB / 437.2 MB, free: 92.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.9502, allocations: 3.75 kB / 437.2 MB, free: 92.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/0.9522, allocations: 252.5 kB / 437.4 MB, free: 92.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000554/0.9528, allocations: 123.9 kB / 437.5 MB, free: 92.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.9529, allocations: 16.64 kB / 437.5 MB, free: 92.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/0.9561, allocations: 4.217 MB / 441.8 MB, free: 88.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.9562, allocations: 3.844 kB / 441.8 MB, free: 88.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.9597, allocations: 1.851 MB / 443.6 MB, free: 88.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.96, allocations: 166.7 kB / 443.8 MB, free: 87.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.9602, allocations: 7.906 kB / 443.8 MB, free: 87.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9614, allocations: 57.5 kB / 443.8 MB, free: 87.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.9616, allocations: 93.67 kB / 443.9 MB, free: 87.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/0.9617, allocations: 35.28 kB / 444 MB, free: 87.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000582/0.9623, allocations: 360.6 kB / 444.3 MB, free: 87.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9623, allocations: 0 / 444.3 MB, free: 87.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001395/0.9638, allocations: 224.1 kB / 444.5 MB, free: 87.7 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.003713/0.9675, allocations: 3.181 MB / 447.7 MB, free: 85.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.9702, allocations: 1.29 MB / 449 MB, free: 84.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9702, allocations: 0 / 449 MB, free: 84.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.9717, allocations: 0.8702 MB / 449.9 MB, free: 84.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.973, allocations: 135.5 kB / 450 MB, free: 84.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.9779, allocations: 1.896 MB / 451.9 MB, free: 83.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.9785, allocations: 1.059 MB / 453 MB, free: 82.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009102/0.9795, allocations: 401.3 kB / 453.4 MB, free: 82.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9795, allocations: 0 / 453.4 MB, free: 82.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.099/4.078, allocations: 31.07 MB / 484.4 MB, free: 61.99 MB / 362.7 MB