Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.63/1.63, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 12 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.07961, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.427, allocations: 77.88 MB / 350 MB, free: 12 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.4274, allocations: 85.27 kB / 350.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1599/0.5873, allocations: 35.75 MB / 385.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5874, allocations: 0 / 385.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.494e-05/0.5874, allocations: 20 kB / 385.8 MB, free: 14.18 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004524/0.592, allocations: 1.245 MB / 387.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5921, allocations: 12.03 kB / 387.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/0.5924, allocations: 148 kB / 387.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.5927, allocations: 114.6 kB / 387.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5941, allocations: 0.6018 MB / 388 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.5943, allocations: 78 kB / 388 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.5945, allocations: 96 kB / 388.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/0.5977, allocations: 1.025 MB / 389.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.403e-05/0.5978, allocations: 7.906 kB / 389.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.5979, allocations: 36 kB / 389.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.598, allocations: 24 kB / 389.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.6014, allocations: 0.942 MB / 390.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008319/0.6097, allocations: 3.557 MB / 393.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.6123, allocations: 0.8798 MB / 394.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.6125, allocations: 12.55 kB / 394.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.6125, allocations: 47.11 kB / 394.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.228e-06/0.6125, allocations: 0 / 394.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01721/0.6297, allocations: 4.749 MB / 399.4 MB, free: 128 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.6299, allocations: 98.19 kB / 399.5 MB, free: 8 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.6311, allocations: 0.5452 MB / 400 MB, free: 15.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.6312, allocations: 45.7 kB / 400.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.6316, allocations: 434.8 kB / 400.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.6322, allocations: 433.7 kB / 400.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.6323, allocations: 24 kB / 401 MB, free: 14.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6325, allocations: 350.8 kB / 401.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6341, allocations: 430.4 kB / 401.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.6358, allocations: 0.5592 MB / 402.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.6376, allocations: 483.7 kB / 402.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6376, allocations: 7.891 kB / 402.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004134/0.6417, allocations: 1.259 MB / 404 MB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6418, allocations: 8 kB / 404 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6418, allocations: 4 kB / 404 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.6424, allocations: 134.5 kB / 404.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.6445, allocations: 283.6 kB / 404.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004889/0.6494, allocations: 4.544 MB / 409 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6509, allocations: 80.45 kB / 409.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.6511, allocations: 39.98 kB / 409.1 MB, free: 5.91 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007592/0.6518, allocations: 289.6 kB / 409.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.6521, allocations: 94.86 kB / 409.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.6548, allocations: 0.8282 MB / 410.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.6548, allocations: 12 kB / 410.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.6549, allocations: 3.953 kB / 410.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.6549, allocations: 7.984 kB / 410.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.6624, allocations: 3.012 MB / 413.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.6625, allocations: 0 / 413.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.6644, allocations: 231.7 kB / 413.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/0.6651, allocations: 167.2 kB / 413.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/0.6652, allocations: 27.98 kB / 413.8 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00581/0.671, allocations: 5.613 MB / 419.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.6711, allocations: 11.92 kB / 419.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/0.6772, allocations: 2.091 MB / 421.5 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.6777, allocations: 183.9 kB / 421.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.6779, allocations: 27.94 kB / 421.7 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6791, allocations: 83.88 kB / 421.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.6794, allocations: 88.5 kB / 421.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6796, allocations: 35.98 kB / 421.9 MB, free: 8.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009265/0.6805, allocations: 447.1 kB / 422.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6805, allocations: 0 / 422.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001539/0.6821, allocations: 272 kB / 422.6 MB, free: 7.582 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.coil.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0068/0.6889, allocations: 3.449 MB / 426 MB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00437/0.6933, allocations: 1.457 MB / 427.5 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.6934, allocations: 0 / 427.5 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.6961, allocations: 1.101 MB / 428.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6977, allocations: 157 kB / 428.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2364/0.9342, allocations: 8.006 MB / 436.8 MB, free: 94.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.935, allocations: 1.049 MB / 437.8 MB, free: 93.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.9361, allocations: 399.6 kB / 438.2 MB, free: 93.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.9362, allocations: 4.344 kB / 438.2 MB, free: 93.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.132/4.068, allocations: 32.78 MB / 471 MB, free: 84.93 MB / 346.7 MB