Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001347/0.001347, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.417/1.417, allocations: 205.1 MB / 222 MB, free: 4.625 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.001233/0.001233, allocations: 51.92 kB / 278 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2362, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006429/0.2427, allocations: 6.239 MB / 330.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2456, allocations: 1.834 MB / 332.8 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.2461, allocations: 19 kB / 332.8 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.2466, allocations: 174.6 kB / 332.9 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007042/0.2473, allocations: 348.1 kB / 333.3 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.2479, allocations: 333.9 kB / 333.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2493, allocations: 1.376 MB / 335 MB, free: 9.801 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005883/0.2499, allocations: 440.5 kB / 335.4 MB, free: 9.352 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.2504, allocations: 466.1 kB / 335.9 MB, free: 8.895 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.251, allocations: 0.5444 MB / 336.4 MB, free: 8.348 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.2511, allocations: 76 kB / 336.5 MB, free: 8.273 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2513, allocations: 80 kB / 336.6 MB, free: 8.195 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2515, allocations: 219 kB / 336.8 MB, free: 7.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005144/0.252, allocations: 0.5636 MB / 337.3 MB, free: 7.414 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.2534, allocations: 1.771 MB / 339.1 MB, free: 5.637 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2534, allocations: 0 / 339.1 MB, free: 5.637 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2535, allocations: 0 / 339.1 MB, free: 5.637 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.2535, allocations: 0 / 339.1 MB, free: 5.637 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002912/0.2564, allocations: 1.442 MB / 340.6 MB, free: 4.141 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2564, allocations: 16.03 kB / 340.6 MB, free: 4.125 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.2566, allocations: 119.5 kB / 340.7 MB, free: 4.008 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2577, allocations: 0.6689 MB / 341.4 MB, free: 3.297 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.2578, allocations: 74.56 kB / 341.4 MB, free: 3.223 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2579, allocations: 100.3 kB / 341.5 MB, free: 3.125 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.2598, allocations: 1.009 MB / 342.5 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.2598, allocations: 4 kB / 342.5 MB, free: 2.102 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.2599, allocations: 40 kB / 342.6 MB, free: 2.062 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.26, allocations: 24 kB / 342.6 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.2619, allocations: 0.8796 MB / 343.5 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.2668, allocations: 3.336 MB / 346.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.2683, allocations: 0.8056 MB / 347.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008642/0.2692, allocations: 471.2 kB / 348.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.2693, allocations: 25.12 kB / 348.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2693, allocations: 43.12 kB / 348.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 3.316e-06/0.2693, allocations: 0 / 348.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.0106/0.2799, allocations: 4.285 MB / 352.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.28, allocations: 93.7 kB / 352.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.2809, allocations: 0.6046 MB / 353.1 MB, free: 7.117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.2809, allocations: 45.64 kB / 353.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.2812, allocations: 428.2 kB / 353.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.2815, allocations: 398.2 kB / 354 MB, free: 6.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003637/0.2819, allocations: 186.8 kB / 354.2 MB, free: 6.059 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2821, allocations: 394.7 kB / 354.6 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/0.283, allocations: 378.4 kB / 354.9 MB, free: 5.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.284, allocations: 0.5081 MB / 355.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.2857, allocations: 0.8926 MB / 356.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2857, allocations: 0 / 356.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002627/0.2884, allocations: 1.184 MB / 357.5 MB, free: 2.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2884, allocations: 7.984 kB / 357.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2884, allocations: 4 kB / 357.5 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.2889, allocations: 130.7 kB / 357.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.29, allocations: 255.6 kB / 357.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.294, allocations: 4.528 MB / 362.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/0.2947, allocations: 47.97 kB / 362.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.2948, allocations: 48.05 kB / 362.5 MB, free: 13.21 MB / 302.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.0004454/0.2953, allocations: 269.6 kB / 362.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.2955, allocations: 90.97 kB / 362.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.2973, allocations: 0.7683 MB / 363.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.2973, allocations: 12 kB / 363.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.2974, allocations: 4.047 kB / 363.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.2974, allocations: 11.97 kB / 363.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.3019, allocations: 2.663 MB / 366.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.302, allocations: 4 kB / 366.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009353/0.3029, allocations: 207.6 kB / 366.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/0.3034, allocations: 155.3 kB / 366.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.3035, allocations: 31.98 kB / 366.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.3084, allocations: 5.572 MB / 372.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3084, allocations: 0 / 372.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.3118, allocations: 1.743 MB / 374 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.3122, allocations: 164.1 kB / 374.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.3124, allocations: 20 kB / 374.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.3131, allocations: 55.95 kB / 374.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.3133, allocations: 80.39 kB / 374.3 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.3133, allocations: 28 kB / 374.4 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006224/0.314, allocations: 443.1 kB / 374.8 MB, free: 184 kB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.314, allocations: 0 / 374.8 MB, free: 184 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001057/0.315, allocations: 256 kB / 375.1 MB, free: 15.93 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.0001907/0.3152, allocations: 134.2 kB / 375.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.3178, allocations: 1.333 MB / 376.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3178, allocations: 4.625 kB / 376.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.3194, allocations: 1.002 MB / 377.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3205, allocations: 179.1 kB / 377.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.3249, allocations: 2.603 MB / 380.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.3256, allocations: 1.024 MB / 381.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005819/0.3262, allocations: 115.6 kB / 381.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.3264, allocations: 79.41 kB / 381.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3264, allocations: 0 / 381.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of Templates: time 0.0212/0.3476, allocations: 11.27 MB / 392.8 MB, free: 14.02 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)