Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.001451/0.001451, allocations: 199 kB / 18 MB, free: 5.199 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.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001335/0.001335, allocations: 55.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09664, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.2192/0.3159, allocations: 6.22 MB / 380.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3193, allocations: 1.874 MB / 382.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.3198, allocations: 19.06 kB / 382.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.3204, allocations: 220.2 kB / 382.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008071/0.3212, allocations: 394.7 kB / 383.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.3219, allocations: 378.8 kB / 383.6 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.3235, allocations: 1.49 MB / 385 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006736/0.3242, allocations: 0.5096 MB / 385.6 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.3249, allocations: 0.5448 MB / 386.1 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.3256, allocations: 0.5953 MB / 386.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.3258, allocations: 157 kB / 386.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.326, allocations: 159.8 kB / 387 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.3262, allocations: 300.7 kB / 387.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.3268, allocations: 0.6499 MB / 388 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.3287, allocations: 1.849 MB / 389.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3287, allocations: 1.375 kB / 389.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3287, allocations: 0 / 389.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.3287, allocations: 0 / 389.8 MB, free: 6.023 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003005/0.3317, allocations: 1.448 MB / 391.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3318, allocations: 12.94 kB / 391.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.332, allocations: 120.9 kB / 391.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.3332, allocations: 0.6717 MB / 392.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.3333, allocations: 74.28 kB / 392.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.3335, allocations: 104.4 kB / 392.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.3354, allocations: 1.01 MB / 393.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.3355, allocations: 1.984 kB / 393.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.3356, allocations: 44.44 kB / 393.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.3356, allocations: 23.66 kB / 393.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.3375, allocations: 0.8633 MB / 394.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004932/0.3425, allocations: 3.299 MB / 397.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3439, allocations: 0.8195 MB / 398.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.3448, allocations: 472.4 kB / 398.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.3448, allocations: 19.47 kB / 398.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3449, allocations: 48.5 kB / 398.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=91): time 3.176e-06/0.3449, allocations: 0 / 398.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=115): time 0.009574/0.3545, allocations: 4.303 MB / 403.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.3546, allocations: 100.9 kB / 403.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.3555, allocations: 0.5967 MB / 403.8 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/0.3556, allocations: 50.03 kB / 403.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.3559, allocations: 424.7 kB / 404.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.3562, allocations: 391.7 kB / 404.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.3566, allocations: 188.8 kB / 404.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3568, allocations: 392.8 kB / 405.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.3576, allocations: 378.7 kB / 405.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/0.3587, allocations: 0.5054 MB / 406.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.3604, allocations: 0.8885 MB / 407 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3604, allocations: 1.125 kB / 407 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002372/0.3628, allocations: 1.188 MB / 408.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3628, allocations: 5.688 kB / 408.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3628, allocations: 6.406 kB / 408.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/0.3633, allocations: 130.9 kB / 408.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3643, allocations: 246.5 kB / 408.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.368, allocations: 4.979 MB / 413.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.3687, allocations: 50.89 kB / 413.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.3688, allocations: 37.3 kB / 413.6 MB, free: 5.969 MB / 334.1 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 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004348/0.3692, allocations: 281.8 kB / 413.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3694, allocations: 92.69 kB / 414 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.371, allocations: 0.7755 MB / 414.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.371, allocations: 11.94 kB / 414.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.371, allocations: 3.219 kB / 414.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.371, allocations: 9.438 kB / 414.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.3752, allocations: 2.646 MB / 417.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3752, allocations: 1.125 kB / 417.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.3761, allocations: 208.8 kB / 417.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/0.3765, allocations: 157.3 kB / 417.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.3766, allocations: 30.86 kB / 417.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/0.381, allocations: 5.983 MB / 423.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.381, allocations: 3.938 kB / 423.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.3842, allocations: 1.745 MB / 425.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.3845, allocations: 156.1 kB / 425.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3846, allocations: 31.92 kB / 425.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.3852, allocations: 47.97 kB / 425.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.3854, allocations: 80.39 kB / 425.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.3854, allocations: 35.98 kB / 425.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006008/0.386, allocations: 439.1 kB / 426.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.386, allocations: 0 / 426.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001039/0.3871, allocations: 256 kB / 426.6 MB, free: 9.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.3873, allocations: 130.4 kB / 426.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.3898, allocations: 1.35 MB / 428.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3898, allocations: 0 / 428.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.3913, allocations: 1.01 MB / 429.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3923, allocations: 181.5 kB / 429.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.3961, allocations: 2.131 MB / 431.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.3967, allocations: 1.02 MB / 432.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005156/0.3972, allocations: 119.6 kB / 432.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.3975, allocations: 75.41 kB / 432.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3975, allocations: 4 kB / 432.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of Templates: time 0.02147/0.4189, allocations: 12.4 MB / 445 MB, free: 7.227 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)