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.0008368/0.0008369, allocations: 89.97 kB / 16.65 MB, free: 6.602 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.000915/0.0009154, allocations: 174 kB / 17.56 MB, free: 6.203 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.297/1.297, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004504/0.0004505, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08634, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005857/0.09223, allocations: 5.769 MB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.09527, allocations: 1.835 MB / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.09571, allocations: 19.94 kB / 335.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.09619, allocations: 162.9 kB / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.09698, allocations: 345.5 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.09757, allocations: 343.7 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.09874, allocations: 1.366 MB / 338.1 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.0993, allocations: 447.2 kB / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.09973, allocations: 434.1 kB / 339 MB, free: 9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.1002, allocations: 0.5053 MB / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1003, allocations: 64 kB / 339.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1005, allocations: 64 kB / 339.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.1007, allocations: 195.1 kB / 339.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.1011, allocations: 0.5652 MB / 340.4 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.1023, allocations: 1.712 MB / 342.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1023, allocations: 0 / 342.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1023, allocations: 0 / 342.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1024, allocations: 0 / 342.1 MB, free: 5.883 MB / 286.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.002423/0.1048, allocations: 1.294 MB / 343.4 MB, free: 4.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1048, allocations: 8.031 kB / 343.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.105, allocations: 119.5 kB / 343.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.106, allocations: 0.6728 MB / 344.2 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.1061, allocations: 78.56 kB / 344.3 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.1062, allocations: 100.3 kB / 344.4 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.1081, allocations: 1.025 MB / 345.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.1081, allocations: 8 kB / 345.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.1082, allocations: 36 kB / 345.4 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1082, allocations: 24 kB / 345.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.1101, allocations: 0.9225 MB / 346.4 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.1146, allocations: 3.36 MB / 349.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.116, allocations: 0.831 MB / 350.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/0.1168, allocations: 499.1 kB / 351.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.1169, allocations: 25.06 kB / 351.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.117, allocations: 39.12 kB / 351.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.395e-06/0.117, allocations: 0 / 351.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.00936/0.1263, allocations: 4.453 MB / 355.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.1264, allocations: 89.77 kB / 355.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.1272, allocations: 0.6046 MB / 356.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.1273, allocations: 45.64 kB / 356.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.1275, allocations: 436.1 kB / 356.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.1278, allocations: 390.2 kB / 357.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1279, allocations: 93.66 kB / 357.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1281, allocations: 390.8 kB / 357.6 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/0.129, allocations: 410.4 kB / 358 MB, free: 5.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/0.1299, allocations: 0.5393 MB / 358.5 MB, free: 4.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.1316, allocations: 0.9277 MB / 359.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1316, allocations: 0 / 359.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002287/0.1339, allocations: 1.239 MB / 360.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1339, allocations: 4 kB / 360.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.134, allocations: 4 kB / 360.7 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.1343, allocations: 134.4 kB / 360.8 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.1353, allocations: 259.7 kB / 361.1 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.1387, allocations: 4.536 MB / 365.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.1394, allocations: 55.97 kB / 365.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.1395, allocations: 39.98 kB / 365.7 MB, free: 13.23 MB / 318.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.0004544/0.14, allocations: 273.7 kB / 366 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.1402, allocations: 86.97 kB / 366.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.1418, allocations: 0.7918 MB / 366.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1418, allocations: 15.98 kB / 366.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.1418, allocations: 4 kB / 366.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.1418, allocations: 7.922 kB / 366.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/0.1461, allocations: 2.706 MB / 369.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1461, allocations: 0 / 369.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.147, allocations: 207.8 kB / 369.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.1474, allocations: 171.3 kB / 370 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.1475, allocations: 27.98 kB / 370 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/0.1516, allocations: 5.564 MB / 375.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.1516, allocations: 8.016 kB / 375.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.1548, allocations: 1.806 MB / 377.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.155, allocations: 164.1 kB / 377.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.1551, allocations: 24 kB / 377.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.1557, allocations: 63.97 kB / 377.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.1559, allocations: 84.31 kB / 377.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.1559, allocations: 32 kB / 377.7 MB, free: 500 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005654/0.1565, allocations: 447.1 kB / 378.2 MB, free: 56 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1565, allocations: 0 / 378.2 MB, free: 56 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.1483/0.3048, allocations: 250 kB / 378.4 MB, free: 50.77 MB / 318.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.0002925/0.3051, allocations: 127.4 kB / 378.5 MB, free: 50.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.3081, allocations: 1.38 MB / 379.9 MB, free: 50.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3082, allocations: 0.5938 kB / 379.9 MB, free: 50.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.3097, allocations: 1.027 MB / 380.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.311, allocations: 177.5 kB / 381.1 MB, free: 49.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.3148, allocations: 2.745 MB / 383.9 MB, free: 48.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.3154, allocations: 1.025 MB / 384.9 MB, free: 47.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005792/0.316, allocations: 117.3 kB / 385 MB, free: 47.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.3162, allocations: 80.55 kB / 385.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3162, allocations: 4 kB / 385.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of Templates: time 0.01875/0.335, allocations: 11.14 MB / 396.2 MB, free: 44.32 MB / 318.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)