Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.92e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5425, allocations: 89.43 MB / 432.1 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5429, allocations: 82.2 kB / 432.1 MB, free: 4.402 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.1583/0.7011, allocations: 36.89 MB / 469 MB, free: 4.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7012, allocations: 0 / 469 MB, free: 4.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.919e-05/0.7013, allocations: 27.98 kB / 469.1 MB, free: 4.426 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.004042/0.7053, allocations: 1.127 MB / 470.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.7054, allocations: 12.03 kB / 470.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000465/0.7059, allocations: 148.1 kB / 470.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.7063, allocations: 126.5 kB / 470.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.7081, allocations: 0.6018 MB / 471.1 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.7083, allocations: 81.98 kB / 471.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.7087, allocations: 95.91 kB / 471.2 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.7116, allocations: 0.9308 MB / 472.2 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.635e-05/0.7117, allocations: 0 / 472.2 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.7119, allocations: 47.94 kB / 472.2 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.7119, allocations: 24 kB / 472.2 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.7146, allocations: 0.7656 MB / 473 MB, free: 372 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008818/0.7234, allocations: 3.579 MB / 476.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.7255, allocations: 0.7767 MB / 477.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.7267, allocations: 459.7 kB / 477.8 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.242e-05/0.7268, allocations: 20.55 kB / 477.8 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.7268, allocations: 43.7 kB / 477.9 MB, free: 11.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 3.597e-06/0.7269, allocations: 0 / 477.9 MB, free: 11.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.0151/0.742, allocations: 4.261 MB / 482.1 MB, free: 6.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.7421, allocations: 90.33 kB / 482.2 MB, free: 6.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.7432, allocations: 0.5284 MB / 482.8 MB, free: 6.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.7434, allocations: 49.7 kB / 482.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.7438, allocations: 446.8 kB / 483.2 MB, free: 5.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.7443, allocations: 445.5 kB / 483.7 MB, free: 5.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.7444, allocations: 24 kB / 483.7 MB, free: 5.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.7446, allocations: 358.8 kB / 484 MB, free: 4.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.7457, allocations: 370.6 kB / 484.4 MB, free: 4.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.747, allocations: 0.498 MB / 484.9 MB, free: 4.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.7482, allocations: 427.7 kB / 485.3 MB, free: 3.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7482, allocations: 0 / 485.3 MB, free: 3.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003201/0.7514, allocations: 1.165 MB / 486.5 MB, free: 2.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.7515, allocations: 4 kB / 486.5 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7515, allocations: 7.938 kB / 486.5 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/0.7522, allocations: 146.6 kB / 486.6 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.7545, allocations: 287.6 kB / 486.9 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/0.7601, allocations: 4.767 MB / 491.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.7617, allocations: 80.02 kB / 491.8 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.7619, allocations: 39.98 kB / 491.8 MB, free: 12.67 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.0003809/0.7623, allocations: 179.8 kB / 492 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.7626, allocations: 98.86 kB / 492.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.7649, allocations: 0.7911 MB / 492.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.7649, allocations: 12 kB / 492.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.7649, allocations: 4 kB / 492.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.765, allocations: 16 kB / 492.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007086/0.7721, allocations: 2.958 MB / 495.9 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.7721, allocations: 4 kB / 495.9 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/0.7743, allocations: 259.9 kB / 496.1 MB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/0.7749, allocations: 122.5 kB / 496.2 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.775, allocations: 39.98 kB / 496.3 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.7799, allocations: 4.377 MB / 0.4889 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.78, allocations: 8.094 kB / 0.4889 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/0.7846, allocations: 1.96 MB / 0.4908 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.785, allocations: 175.9 kB / 0.491 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.7852, allocations: 28 kB / 0.491 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.7865, allocations: 87.89 kB / 0.4911 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.7868, allocations: 88.66 kB / 0.4912 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.7869, allocations: 32 kB / 0.4912 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008635/0.7878, allocations: 439.2 kB / 0.4917 GB, free: 344 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7878, allocations: 0 / 0.4917 GB, free: 344 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001514/0.7893, allocations: 272 kB / 0.4919 GB, free: 72 kB / 410.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.005253/0.7946, allocations: 3.306 MB / 0.4951 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.7979, allocations: 1.324 MB / 0.4964 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7979, allocations: 4 kB / 0.4964 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.7998, allocations: 0.8866 MB / 0.4973 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.8013, allocations: 158.3 kB / 0.4975 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.8072, allocations: 1.99 MB / 0.4994 GB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.8081, allocations: 1.064 MB / 0.5004 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.8091, allocations: 403.2 kB / 0.5008 GB, free: 6.676 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8091, allocations: 0 / 0.5008 GB, free: 6.676 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.51/4.319, allocations: 31.3 MB / 0.5314 GB, free: 131 MB / 442.7 MB