Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001755/0.001754, allocations: 113.2 kB / 17.07 MB, free: 5.973 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.001813/0.001813, allocations: 200 kB / 18.01 MB, free: 5.055 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.483/1.483, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001266/0.001266, allocations: 51.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006991/0.1164, allocations: 4.509 MB / 379 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2024/0.3188, allocations: 1.741 MB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.3192, allocations: 12.31 kB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.32, allocations: 422.3 kB / 381.2 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.0007184/0.3207, allocations: 411.7 kB / 381.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.3213, allocations: 307.9 kB / 381.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.3225, allocations: 1.019 MB / 382.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.3229, allocations: 304.6 kB / 383.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.3234, allocations: 414.7 kB / 383.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.324, allocations: 0.5005 MB / 384.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3241, allocations: 96.19 kB / 384.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.3243, allocations: 135.3 kB / 384.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.3245, allocations: 235.3 kB / 384.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.3248, allocations: 456.3 kB / 385 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.3261, allocations: 1.27 MB / 386.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3262, allocations: 0 / 386.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3262, allocations: 1.125 kB / 386.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3262, allocations: 0 / 386.3 MB, free: 7.883 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.002068/0.3283, allocations: 1.206 MB / 387.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3283, allocations: 14.08 kB / 387.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3285, allocations: 97.84 kB / 387.6 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/0.3293, allocations: 0.549 MB / 388.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.3294, allocations: 51.09 kB / 388.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.3295, allocations: 61.94 kB / 388.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3307, allocations: 0.6469 MB / 388.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3308, allocations: 1.125 kB / 388.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.3308, allocations: 20.88 kB / 388.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3309, allocations: 19.16 kB / 388.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3322, allocations: 0.5551 MB / 389.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.3361, allocations: 2.548 MB / 392 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/0.337, allocations: 475.2 kB / 392.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.3378, allocations: 301.5 kB / 392.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.3378, allocations: 11.41 kB / 392.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3379, allocations: 38.34 kB / 392.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.913e-06/0.3379, allocations: 4 kB / 392.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004672/0.3426, allocations: 1.485 MB / 394.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3426, allocations: 58.41 kB / 394.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3438, allocations: 0.9433 MB / 395.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.3439, allocations: 35.92 kB / 395.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3441, allocations: 408.8 kB / 395.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3443, allocations: 205.9 kB / 395.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.3445, allocations: 124.6 kB / 396.1 MB, free: 2.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.3445, allocations: 328 kB / 396.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.3451, allocations: 243.7 kB / 396.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.3458, allocations: 342.5 kB / 397 MB, free: 1.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.347, allocations: 0.5732 MB / 397.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.347, allocations: 1.25 kB / 397.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001505/0.3485, allocations: 0.7268 MB / 398.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3486, allocations: 14.81 kB / 398.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3486, allocations: 2.75 kB / 398.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3486, allocations: 4.125 kB / 398.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.3494, allocations: 178.1 kB / 398.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.3494, allocations: 5.5 kB / 398.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.35, allocations: 36.25 kB / 398.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.35, allocations: 36.33 kB / 398.5 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.0003567/0.3504, allocations: 259.8 kB / 398.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3505, allocations: 84.69 kB / 398.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3521, allocations: 0.6256 MB / 399.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3521, allocations: 6.062 kB / 399.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3521, allocations: 0 / 399.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3521, allocations: 3.562 kB / 399.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.3553, allocations: 1.809 MB / 401.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3553, allocations: 6.25 kB / 401.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.3559, allocations: 132.9 kB / 401.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.3559, allocations: 9.281 kB / 401.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.356, allocations: 13.44 kB / 401.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.356, allocations: 5.594 kB / 401.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.356, allocations: 7.094 kB / 401.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.3574, allocations: 0.7429 MB / 402.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3577, allocations: 208.2 kB / 402.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.3578, allocations: 13.53 kB / 402.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.3583, allocations: 38.73 kB / 402.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3584, allocations: 43.92 kB / 402.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.3585, allocations: 22.91 kB / 402.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008793/0.3593, allocations: 0.6882 MB / 403.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3594, allocations: 0 / 403.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006182/0.36, allocations: 146.1 kB / 403.4 MB, free: 14.31 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.0008559/0.3608, allocations: 370.8 kB / 403.7 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.3623, allocations: 0.5817 MB / 404.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3624, allocations: 0 / 404.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.363, allocations: 301.5 kB / 404.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.3638, allocations: 134.4 kB / 404.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.3666, allocations: 1.575 MB / 406.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.3671, allocations: 0.9682 MB / 407.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.3675, allocations: 95.17 kB / 407.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3677, allocations: 55.92 kB / 407.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3677, allocations: 0 / 407.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of Templates: time 0.01467/0.3824, allocations: 7.918 MB / 415.4 MB, free: 5.535 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)