Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 44.49 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.521, allocations: 82.61 MB / 391.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004727/0.5216, allocations: 83.95 kB / 391.3 MB, free: 9.969 MB / 330.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.4378/0.9594, allocations: 35.65 MB / 426.9 MB, free: 87.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.9594, allocations: 0 / 426.9 MB, free: 87.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.318e-05/0.9595, allocations: 19.41 kB / 426.9 MB, free: 87.79 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00405/0.9636, allocations: 1.246 MB / 428.2 MB, free: 87.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.9636, allocations: 9.688 kB / 428.2 MB, free: 87.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004596/0.9641, allocations: 148.4 kB / 428.3 MB, free: 87.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.9644, allocations: 120.2 kB / 428.4 MB, free: 87.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.9659, allocations: 0.609 MB / 429.1 MB, free: 86.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.9661, allocations: 78.41 kB / 429.1 MB, free: 86.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.9664, allocations: 98.62 kB / 429.2 MB, free: 86.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.9696, allocations: 1.032 MB / 430.3 MB, free: 86.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.9697, allocations: 3.906 kB / 430.3 MB, free: 86.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.9698, allocations: 43.48 kB / 430.3 MB, free: 86.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.9699, allocations: 25.19 kB / 430.3 MB, free: 86.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.9732, allocations: 0.9473 MB / 431.3 MB, free: 86.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.9813, allocations: 3.556 MB / 434.8 MB, free: 84.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.9838, allocations: 0.8783 MB / 435.7 MB, free: 84.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/0.9839, allocations: 18.61 kB / 435.7 MB, free: 84.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.984, allocations: 50.59 kB / 435.8 MB, free: 84.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=95): time 3.978e-06/0.984, allocations: 0 / 435.8 MB, free: 84.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.01675/1.001, allocations: 4.754 MB / 440.5 MB, free: 81.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.001, allocations: 90.2 kB / 440.6 MB, free: 81.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.002, allocations: 0.5475 MB / 441.2 MB, free: 80.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/1.002, allocations: 45.7 kB / 441.2 MB, free: 80.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/1.002, allocations: 418.5 kB / 441.6 MB, free: 80.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/1.003, allocations: 422.1 kB / 442 MB, free: 79.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/1.003, allocations: 24 kB / 442.1 MB, free: 79.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/1.003, allocations: 398.3 kB / 442.4 MB, free: 79.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/1.004, allocations: 427.8 kB / 442.9 MB, free: 79.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/1.006, allocations: 0.5604 MB / 443.4 MB, free: 78.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.008, allocations: 483.1 kB / 443.9 MB, free: 78.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.008, allocations: 4 kB / 443.9 MB, free: 78.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004096/1.012, allocations: 1.31 MB / 445.2 MB, free: 77.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.012, allocations: 4 kB / 445.2 MB, free: 77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.012, allocations: 4 kB / 445.2 MB, free: 77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/1.013, allocations: 134.5 kB / 445.4 MB, free: 76.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.015, allocations: 278.8 kB / 445.6 MB, free: 76.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/1.019, allocations: 4.551 MB / 450.2 MB, free: 71.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.02, allocations: 78.23 kB / 450.2 MB, free: 71.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.02, allocations: 43.42 kB / 450.3 MB, free: 71.74 MB / 346.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.0006951/1.021, allocations: 287 kB / 450.6 MB, free: 71.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/1.021, allocations: 94.88 kB / 450.7 MB, free: 71.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.024, allocations: 0.8261 MB / 451.5 MB, free: 70.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.024, allocations: 12 kB / 451.5 MB, free: 70.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.024, allocations: 4 kB / 451.5 MB, free: 70.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/1.024, allocations: 7.234 kB / 451.5 MB, free: 70.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007585/1.032, allocations: 3.028 MB / 454.5 MB, free: 67.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.032, allocations: 0 / 454.5 MB, free: 67.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.034, allocations: 231.7 kB / 454.8 MB, free: 67.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007266/1.034, allocations: 159.4 kB / 454.9 MB, free: 67.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.035, allocations: 24 kB / 454.9 MB, free: 67.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/1.039, allocations: 5.615 MB / 460.6 MB, free: 61.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.039, allocations: 4 kB / 460.6 MB, free: 61.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/1.045, allocations: 2.095 MB / 462.7 MB, free: 59.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/1.045, allocations: 175.9 kB / 462.8 MB, free: 58.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/1.045, allocations: 32 kB / 462.9 MB, free: 58.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.047, allocations: 75.94 kB / 462.9 MB, free: 58.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.047, allocations: 92.48 kB / 463 MB, free: 58.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.047, allocations: 35.98 kB / 463.1 MB, free: 58.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008207/1.048, allocations: 451 kB / 463.5 MB, free: 58.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.048, allocations: 0 / 463.5 MB, free: 58.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001551/1.05, allocations: 268 kB / 463.8 MB, free: 58.02 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.006078/1.056, allocations: 3.447 MB / 467.2 MB, free: 54.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004167/1.06, allocations: 1.46 MB / 468.7 MB, free: 52.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.06, allocations: 0 / 468.7 MB, free: 52.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/1.063, allocations: 1.101 MB / 469.8 MB, free: 51.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.064, allocations: 161.8 kB / 469.9 MB, free: 51.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/1.08, allocations: 7.98 MB / 477.9 MB, free: 43.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/1.081, allocations: 1.056 MB / 479 MB, free: 42.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00101/1.082, allocations: 123.4 kB / 479.1 MB, free: 42.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/1.083, allocations: 395.2 kB / 479.5 MB, free: 41.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/1.083, allocations: 4 kB / 479.5 MB, free: 41.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/1.141, allocations: 20.03 MB / 499.5 MB, free: 21.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/1.141, allocations: 224.1 kB / 499.7 MB, free: 21.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/4.694, allocations: 0 / 499.7 MB, free: 21.66 MB / 346.7 MB