Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.283e-05, allocations: 0 / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.524, allocations: 84.03 MB / 384 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.5244, allocations: 86.16 kB / 384.1 MB, free: 12.45 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.08831/0.6127, allocations: 21.34 MB / 405.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6128, allocations: 0 / 405.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.546e-05/0.6129, allocations: 23.25 kB / 405.5 MB, free: 8.16 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004308/0.6172, allocations: 1.256 MB / 406.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6173, allocations: 7.719 kB / 406.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003967/0.6177, allocations: 149 kB / 406.9 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.6181, allocations: 128.5 kB / 407 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.6198, allocations: 0.6513 MB / 407.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.62, allocations: 72.78 kB / 407.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.6203, allocations: 94.81 kB / 407.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.6231, allocations: 0.9308 MB / 408.7 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/0.6232, allocations: 3.906 kB / 408.7 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.6233, allocations: 37.66 kB / 408.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.6234, allocations: 23.28 kB / 408.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.6256, allocations: 0.7582 MB / 409.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.6362, allocations: 3.853 MB / 413.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.6396, allocations: 0.8457 MB / 414.3 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.6407, allocations: 368.2 kB / 414.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.6408, allocations: 12.3 kB / 414.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.6408, allocations: 46.06 kB / 414.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 4.027e-06/0.6409, allocations: 7.875 kB / 414.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.005747/0.6466, allocations: 1.632 MB / 416.3 MB, free: 3.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.6467, allocations: 89.3 kB / 416.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.6483, allocations: 0.8035 MB / 417.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.6485, allocations: 42.86 kB / 417.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.6488, allocations: 0.5049 MB / 417.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.6491, allocations: 291.6 kB / 418 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.6492, allocations: 21.06 kB / 418.1 MB, free: 2.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.6493, allocations: 339.6 kB / 418.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008211/0.6502, allocations: 300 kB / 418.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.6511, allocations: 458.3 kB / 419.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.652, allocations: 366.6 kB / 419.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.652, allocations: 3.875 kB / 419.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002367/0.6544, allocations: 0.9402 MB / 420.4 MB, free: 2.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.6545, allocations: 39.28 kB / 420.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6545, allocations: 3.906 kB / 420.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.6546, allocations: 7.844 kB / 420.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.6573, allocations: 358.5 kB / 420.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.6574, allocations: 7.75 kB / 420.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.6593, allocations: 111.7 kB / 420.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6594, allocations: 41.73 kB / 421 MB, free: 2.023 MB / 314.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.0002793/0.6597, allocations: 160.8 kB / 421.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.6601, allocations: 101 kB / 421.2 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.6611, allocations: 370.3 kB / 421.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.6612, allocations: 11.62 kB / 421.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6612, allocations: 0 / 421.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.6612, allocations: 7.969 kB / 421.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.6679, allocations: 2.856 MB / 424.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.668, allocations: 7.875 kB / 424.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.6699, allocations: 276.9 kB / 424.8 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-05/0.67, allocations: 18.38 kB / 424.8 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.6701, allocations: 26.44 kB / 424.8 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.6701, allocations: 23.42 kB / 424.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.6701, allocations: 15.56 kB / 424.8 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.6725, allocations: 1.675 MB / 426.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.673, allocations: 206.5 kB / 426.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.6732, allocations: 33.95 kB / 426.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.6746, allocations: 83.47 kB / 426.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.6749, allocations: 94.33 kB / 426.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/0.675, allocations: 39.8 kB / 427 MB, free: 14.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.6762, allocations: 0.6151 MB / 427.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6763, allocations: 3.938 kB / 427.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001508/0.6778, allocations: 238.8 kB / 427.8 MB, free: 14.51 MB / 330.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.004617/0.6824, allocations: 5.549 MB / 433.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.6844, allocations: 0.7458 MB / 434.1 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.6845, allocations: 3.188 kB / 434.1 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.6856, allocations: 389.2 kB / 434.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.6873, allocations: 187 kB / 434.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.6929, allocations: 1.726 MB / 436.4 MB, free: 7.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.6937, allocations: 1.056 MB / 437.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001149/0.6949, allocations: 133.1 kB / 437.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009383/0.6959, allocations: 389.3 kB / 438 MB, free: 6.523 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6959, allocations: 0 / 438 MB, free: 6.523 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06885/0.7647, allocations: 18.94 MB / 456.9 MB, free: 5.023 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/0.7652, allocations: 224.6 kB / 457.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/4.003, allocations: 4 kB / 457.1 MB, free: 4.793 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat