Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.112e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3285, allocations: 44.5 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.4888, allocations: 83.37 MB / 377.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4892, allocations: 83.95 kB / 377.7 MB, free: 14.41 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.09767/0.5869, allocations: 21.12 MB / 398.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5869, allocations: 0 / 398.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001061/0.5871, allocations: 23.94 kB / 398.8 MB, free: 9.188 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004731/0.5918, allocations: 1.261 MB / 400.1 MB, free: 7.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.5919, allocations: 8.031 kB / 400.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.5925, allocations: 130.5 kB / 400.2 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.5946, allocations: 0.6484 MB / 400.8 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.5949, allocations: 46 kB / 400.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/0.5953, allocations: 59.98 kB / 400.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002953/0.5983, allocations: 0.7186 MB / 401.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.6012, allocations: 0.8029 MB / 402.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/0.6013, allocations: 3.984 kB / 402.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.6014, allocations: 4 kB / 402.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.6015, allocations: 23.94 kB / 402.5 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.612, allocations: 3.67 MB / 406.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.6155, allocations: 0.8058 MB / 407 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.6166, allocations: 354.6 kB / 407.3 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.6168, allocations: 12.52 kB / 407.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.6169, allocations: 47.12 kB / 407.4 MB, free: 292 kB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 4.709e-06/0.6169, allocations: 0 / 407.4 MB, free: 292 kB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.005305/0.6222, allocations: 1.405 MB / 408.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.6223, allocations: 85.55 kB / 408.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.6239, allocations: 0.6872 MB / 409.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.6242, allocations: 25.7 kB / 409.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/0.6247, allocations: 0.5287 MB / 410.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.6251, allocations: 279.8 kB / 410.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.6253, allocations: 0 / 410.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6254, allocations: 346.8 kB / 410.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.6263, allocations: 282.6 kB / 411 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.6273, allocations: 443.6 kB / 411.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.6283, allocations: 314 kB / 411.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.6283, allocations: 4 kB / 411.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002407/0.6307, allocations: 0.7833 MB / 412.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.6309, allocations: 33.7 kB / 412.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.6309, allocations: 4 kB / 412.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.75e-05/0.6309, allocations: 11.98 kB / 412.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.6339, allocations: 352 kB / 412.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.634, allocations: 11.95 kB / 412.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.636, allocations: 107.8 kB / 413 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.6363, allocations: 36 kB / 413.1 MB, free: 10.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.6366, allocations: 140.3 kB / 413.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001941/0.6385, allocations: 0.6123 MB / 413.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/0.6389, allocations: 86.97 kB / 413.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.64, allocations: 341.1 kB / 414.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.6401, allocations: 8 kB / 414.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6401, allocations: 0 / 414.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.6401, allocations: 7.984 kB / 414.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007506/0.6476, allocations: 2.66 MB / 416.9 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/0.6477, allocations: 15.95 kB / 416.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.6498, allocations: 267.8 kB / 417.2 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.698e-05/0.6499, allocations: 16 kB / 417.2 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.6501, allocations: 16 kB / 417.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.037e-05/0.6501, allocations: 31.86 kB / 417.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-05/0.6502, allocations: 15.94 kB / 417.3 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.6528, allocations: 1.609 MB / 418.9 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.6534, allocations: 195.9 kB / 419.1 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.6537, allocations: 19.98 kB / 419.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.6551, allocations: 67.94 kB / 419.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.6555, allocations: 103.6 kB / 419.2 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6556, allocations: 35.98 kB / 419.3 MB, free: 3.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00119/0.6568, allocations: 0.5187 MB / 419.8 MB, free: 3.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6569, allocations: 3.938 kB / 419.8 MB, free: 3.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001686/0.6586, allocations: 200 kB / 420 MB, free: 2.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2588/0.9174, allocations: 5.462 MB / 425.5 MB, free: 98.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.9197, allocations: 0.7166 MB / 426.2 MB, free: 98.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.9197, allocations: 4.656 kB / 426.2 MB, free: 98.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.9209, allocations: 378.2 kB / 426.6 MB, free: 98.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.9229, allocations: 164.6 kB / 426.7 MB, free: 98.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.9293, allocations: 1.672 MB / 428.4 MB, free: 97.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.9302, allocations: 1.054 MB / 429.4 MB, free: 96.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.9313, allocations: 397 kB / 429.8 MB, free: 96.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.9314, allocations: 0 / 429.8 MB, free: 96.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.053/3.985, allocations: 17.53 MB / 447.4 MB, free: 94.21 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat