Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.638/1.638, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/0.08785, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5107, allocations: 77.88 MB / 350 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.5111, allocations: 83.45 kB / 350.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1591/0.6703, allocations: 35.76 MB / 385.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6703, allocations: 0 / 385.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.791e-05/0.6704, allocations: 20 kB / 385.9 MB, free: 13.61 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.004811/0.6752, allocations: 1.244 MB / 387.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6753, allocations: 12.03 kB / 387.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005814/0.6759, allocations: 148 kB / 387.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.6763, allocations: 122.6 kB / 387.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.678, allocations: 0.6017 MB / 388 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.6783, allocations: 78 kB / 388.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.6787, allocations: 96 kB / 388.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.6825, allocations: 1.025 MB / 389.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.011e-05/0.6826, allocations: 7.906 kB / 389.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.6828, allocations: 36 kB / 389.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.6828, allocations: 24 kB / 389.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/0.6867, allocations: 0.942 MB / 390.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009879/0.6966, allocations: 3.557 MB / 393.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.6994, allocations: 0.8864 MB / 394.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.554e-05/0.6995, allocations: 12.56 kB / 394.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.6996, allocations: 39.12 kB / 394.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.839e-06/0.6996, allocations: 3.938 kB / 394.7 MB, free: 4.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01803/0.7176, allocations: 4.749 MB / 399.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.7178, allocations: 90.2 kB / 399.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.719, allocations: 0.5413 MB / 400.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.7192, allocations: 53.69 kB / 400.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.7196, allocations: 416.3 kB / 400.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.7201, allocations: 421.8 kB / 400.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7202, allocations: 24 kB / 401 MB, free: 13.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.7205, allocations: 394.7 kB / 401.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.7221, allocations: 434.4 kB / 401.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.7239, allocations: 0.5514 MB / 402.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.7256, allocations: 491.7 kB / 402.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7256, allocations: 7.891 kB / 402.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004593/0.7302, allocations: 1.302 MB / 404.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.7303, allocations: 8 kB / 404.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7303, allocations: 0 / 404.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.731, allocations: 138.5 kB / 404.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.7333, allocations: 275.6 kB / 404.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.7388, allocations: 4.556 MB / 409.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.7405, allocations: 76.02 kB / 409.2 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.7406, allocations: 43.98 kB / 409.2 MB, free: 5.254 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.0008029/0.7415, allocations: 289.5 kB / 409.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.7418, allocations: 94.88 kB / 409.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.7447, allocations: 0.8243 MB / 410.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.7448, allocations: 12 kB / 410.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.7448, allocations: 8.328 kB / 410.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.7449, allocations: 7.969 kB / 410.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008493/0.7534, allocations: 3.008 MB / 413.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7534, allocations: 320 / 413.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.7554, allocations: 231.7 kB / 413.7 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007952/0.7562, allocations: 163.2 kB / 413.8 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.7564, allocations: 28 kB / 413.8 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006521/0.7629, allocations: 5.616 MB / 419.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.763, allocations: 7.938 kB / 419.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/0.7694, allocations: 2.099 MB / 421.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.7699, allocations: 168.1 kB / 421.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.7702, allocations: 31.94 kB / 421.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.7715, allocations: 79.89 kB / 421.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.7718, allocations: 96.48 kB / 421.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.7719, allocations: 35.98 kB / 422 MB, free: 7.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009603/0.7729, allocations: 443.1 kB / 422.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7729, allocations: 0 / 422.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00151/0.7744, allocations: 279.9 kB / 422.7 MB, free: 6.93 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.007352/0.7818, allocations: 3.457 MB / 426.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00472/0.7866, allocations: 1.457 MB / 427.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.7866, allocations: 0 / 427.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.7898, allocations: 1.093 MB / 428.7 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.7915, allocations: 154.9 kB / 428.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2407/1.032, allocations: 7.967 MB / 436.8 MB, free: 94.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/1.033, allocations: 1.053 MB / 437.9 MB, free: 93.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001197/1.035, allocations: 116.6 kB / 438 MB, free: 93.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.036, allocations: 389.4 kB / 438.4 MB, free: 93.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/1.036, allocations: 0 / 438.4 MB, free: 93.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06889/1.105, allocations: 20.05 MB / 458.4 MB, free: 92.61 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/1.105, allocations: 215.8 kB / 458.6 MB, free: 92.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.447, allocations: 0 / 458.6 MB, free: 92.38 MB / 346.7 MB