Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008069/0.008069, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 55.92 kB / 326.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005597/0.112, allocations: 4.513 MB / 377.7 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2276/0.3396, allocations: 1.729 MB / 379.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.3401, allocations: 11.09 kB / 379.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.3409, allocations: 420.1 kB / 379.8 MB, free: 9.602 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00088/0.3418, allocations: 432.4 kB / 380.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.3425, allocations: 304.5 kB / 380.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.3438, allocations: 1.013 MB / 381.6 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.3443, allocations: 309.7 kB / 381.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.3447, allocations: 413 kB / 382.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.3453, allocations: 0.5024 MB / 382.8 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3455, allocations: 100.4 kB / 382.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.3457, allocations: 128.6 kB / 383 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.3459, allocations: 235.3 kB / 383.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.3463, allocations: 456.7 kB / 383.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.3477, allocations: 1.273 MB / 384.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3477, allocations: 0 / 384.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3477, allocations: 0 / 384.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.3478, allocations: 0 / 384.9 MB, free: 7.879 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00218/0.35, allocations: 1.204 MB / 386.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.35, allocations: 14.73 kB / 386.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3502, allocations: 98.78 kB / 386.3 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.3511, allocations: 0.5513 MB / 386.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.3511, allocations: 50.25 kB / 386.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.3512, allocations: 59.56 kB / 386.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.3524, allocations: 0.6441 MB / 387.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.3525, allocations: 5 kB / 387.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.3525, allocations: 24.56 kB / 387.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.3525, allocations: 19.14 kB / 387.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.3538, allocations: 0.5537 MB / 388.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.3575, allocations: 2.542 MB / 390.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.3585, allocations: 476.1 kB / 391.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.3592, allocations: 300.6 kB / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.3592, allocations: 9.672 kB / 391.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3593, allocations: 46.16 kB / 391.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.175e-06/0.3593, allocations: 0 / 391.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004361/0.3637, allocations: 1.484 MB / 393 MB, free: 3.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3637, allocations: 62.75 kB / 393.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.365, allocations: 0.9433 MB / 394 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.3651, allocations: 36.17 kB / 394 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.3654, allocations: 406.9 kB / 394.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.3656, allocations: 205.8 kB / 394.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.3658, allocations: 117.3 kB / 394.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.3659, allocations: 335.5 kB / 395.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.3665, allocations: 239.2 kB / 395.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.3671, allocations: 346.9 kB / 395.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3683, allocations: 0.5679 MB / 396.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3683, allocations: 0 / 396.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001512/0.3698, allocations: 0.7275 MB / 396.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3699, allocations: 15.45 kB / 397 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3699, allocations: 1.375 kB / 397 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3699, allocations: 5.5 kB / 397 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/0.3707, allocations: 174.3 kB / 397.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3707, allocations: 9.969 kB / 397.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.3712, allocations: 41.61 kB / 397.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.3713, allocations: 29.09 kB / 397.2 MB, free: 1.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003185/0.3716, allocations: 262.2 kB / 397.5 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3718, allocations: 87.42 kB / 397.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.3732, allocations: 0.6191 MB / 398.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3732, allocations: 5.438 kB / 398.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3732, allocations: 1.969 kB / 398.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3732, allocations: 6.234 kB / 398.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.3762, allocations: 1.81 MB / 400 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3763, allocations: 7.312 kB / 400 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.3769, allocations: 137.4 kB / 400.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.3769, allocations: 4.531 kB / 400.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.3769, allocations: 14.5 kB / 400.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.3769, allocations: 8.188 kB / 400.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3769, allocations: 2.719 kB / 400.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3784, allocations: 0.7429 MB / 400.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.3787, allocations: 207.3 kB / 401.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.3788, allocations: 14.03 kB / 401.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.3792, allocations: 35.03 kB / 401.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3794, allocations: 49.58 kB / 401.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.3794, allocations: 21.97 kB / 401.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009473/0.3804, allocations: 0.6844 MB / 401.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3804, allocations: 3.938 kB / 401.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007477/0.3811, allocations: 153.7 kB / 402.1 MB, free: 14.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009269/0.3821, allocations: 366.8 kB / 402.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.3835, allocations: 0.5844 MB / 403 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3835, allocations: 1.344 kB / 403 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.3842, allocations: 293.2 kB / 403.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/0.385, allocations: 134.7 kB / 403.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.3879, allocations: 1.577 MB / 405 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.3885, allocations: 0.9618 MB / 406 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.389, allocations: 102.9 kB / 406.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.3891, allocations: 54.64 kB / 406.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3892, allocations: 0 / 406.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Templates: time 0.01579/0.405, allocations: 7.784 MB / 413.9 MB, free: 5.633 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)