Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001028, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.001335/0.001335, allocations: 181.6 kB / 17.2 MB, free: 5.906 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.732/1.732, allocations: 205.4 MB / 223.4 MB, free: 5.59 MB / 174.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.0004937/0.0004945, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3152, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007236/0.3225, allocations: 5.122 MB / 332.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005302/0.3278, allocations: 2.067 MB / 334.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3293, allocations: 15.97 kB / 334.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009635/0.3303, allocations: 294.3 kB / 335.2 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.3323, allocations: 496.6 kB / 335.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3334, allocations: 270.1 kB / 335.9 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.3357, allocations: 0.9382 MB / 336.9 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.3364, allocations: 378.1 kB / 337.3 MB, free: 9.934 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009659/0.3374, allocations: 458.3 kB / 337.7 MB, free: 9.484 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006874/0.3381, allocations: 0.5329 MB / 338.2 MB, free: 8.949 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.3382, allocations: 63.94 kB / 338.3 MB, free: 8.887 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.3385, allocations: 83.92 kB / 338.4 MB, free: 8.805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.3387, allocations: 215.2 kB / 338.6 MB, free: 8.594 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.339, allocations: 245.1 kB / 338.8 MB, free: 8.348 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.3403, allocations: 1.519 MB / 340.3 MB, free: 6.824 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3403, allocations: 4 kB / 340.4 MB, free: 6.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3403, allocations: 0 / 340.4 MB, free: 6.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.3403, allocations: 0 / 340.4 MB, free: 6.82 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003118/0.3434, allocations: 1.387 MB / 341.7 MB, free: 5.383 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3435, allocations: 8.031 kB / 341.7 MB, free: 5.375 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.3438, allocations: 134.4 kB / 341.9 MB, free: 5.242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3451, allocations: 0.6804 MB / 342.6 MB, free: 4.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.3453, allocations: 78 kB / 342.6 MB, free: 4.441 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.3455, allocations: 95.91 kB / 342.7 MB, free: 4.348 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3475, allocations: 1.029 MB / 343.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.3475, allocations: 0 / 343.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/0.3476, allocations: 36 kB / 343.8 MB, free: 3.277 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.3477, allocations: 24 kB / 343.8 MB, free: 3.254 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3498, allocations: 0.9537 MB / 344.8 MB, free: 2.297 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00652/0.3564, allocations: 3.68 MB / 348.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.3597, allocations: 1.1 MB / 349.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.3598, allocations: 12.17 kB / 349.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3598, allocations: 38.69 kB / 349.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.006e-06/0.3598, allocations: 4 kB / 349.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.005516/0.3653, allocations: 1.962 MB / 351.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.3655, allocations: 89.11 kB / 351.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.3669, allocations: 0.9702 MB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.367, allocations: 33.7 kB / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.3674, allocations: 0.526 MB / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.3676, allocations: 232.6 kB / 353.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.3676, allocations: 20 kB / 353.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3678, allocations: 334 kB / 353.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.3688, allocations: 385.8 kB / 354.1 MB, free: 8.668 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.3698, allocations: 0.5575 MB / 354.7 MB, free: 8.031 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3708, allocations: 421.9 kB / 355.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.3709, allocations: 4 kB / 355.1 MB, free: 7.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002473/0.3733, allocations: 1.084 MB / 356.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.3734, allocations: 8 kB / 356.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3734, allocations: 4 kB / 356.2 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.3734, allocations: 16.03 kB / 356.2 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3747, allocations: 319.6 kB / 356.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.3747, allocations: 27.81 kB / 356.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009279/0.3757, allocations: 91.92 kB / 356.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/0.3757, allocations: 32 kB / 356.7 MB, free: 6.035 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005745/0.3763, allocations: 289.6 kB / 357 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.3765, allocations: 94.78 kB / 357 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.3776, allocations: 422.2 kB / 357.5 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3776, allocations: 8 kB / 357.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3776, allocations: 0 / 357.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.3777, allocations: 7.938 kB / 357.5 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.3818, allocations: 2.34 MB / 359.8 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.3818, allocations: 8 kB / 359.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000893/0.3827, allocations: 240.5 kB / 360.1 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/0.3828, allocations: 12 kB / 360.1 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.3828, allocations: 23.94 kB / 360.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/0.3828, allocations: 15.92 kB / 360.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.526e-05/0.3829, allocations: 19.91 kB / 360.1 MB, free: 2.418 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.3849, allocations: 1.396 MB / 361.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.3853, allocations: 191.8 kB / 361.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3854, allocations: 19.95 kB / 361.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.386, allocations: 67.94 kB / 361.8 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3862, allocations: 67.77 kB / 361.9 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.3863, allocations: 28 kB / 361.9 MB, free: 368 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009964/0.3873, allocations: 0.6747 MB / 362.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3873, allocations: 0 / 362.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008834/0.3882, allocations: 204 kB / 362.8 MB, free: 15.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008933/0.3891, allocations: 373.8 kB / 363.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.3911, allocations: 0.8199 MB / 364 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.3911, allocations: 4.188 kB / 364 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.3919, allocations: 385.1 kB / 364.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3931, allocations: 183.2 kB / 364.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.3968, allocations: 2.256 MB / 366.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.3975, allocations: 1.041 MB / 367.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006976/0.3982, allocations: 127.2 kB / 367.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.3984, allocations: 71.41 kB / 368 MB, free: 10.1 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3984, allocations: 0 / 368 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Templates: time 0.02092/0.4193, allocations: 9.508 MB / 377.5 MB, free: 0.5781 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) Environment - environmentSimulation: