Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.0008185, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005756/0.005756, allocations: 170.3 kB / 16.26 MB, free: 6.676 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.553/1.553, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.0005048/0.0005046, allocations: 12 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2273, allocations: 47.58 MB / 327 MB, free: 1.492 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01231/0.2396, allocations: 10.32 MB / 337.4 MB, free: 9.168 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008157/0.2478, allocations: 3.465 MB / 340.8 MB, free: 5.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.2515, allocations: 35.88 kB / 340.9 MB, free: 5.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008732/0.2602, allocations: 8.133 MB / 349 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.2673, allocations: 4.555 MB / 353.5 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.2698, allocations: 0.8272 MB / 354.4 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006879/0.2767, allocations: 5.093 MB / 359.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.2783, allocations: 0.7546 MB / 360.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.2828, allocations: 2.528 MB / 362.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006682/0.2896, allocations: 4.885 MB / 367.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.2907, allocations: 144 kB / 367.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.2919, allocations: 172 kB / 367.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002016/0.2939, allocations: 1.74 MB / 369.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003455/0.2974, allocations: 2.598 MB / 372.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007126/0.3045, allocations: 6.804 MB / 379.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3046, allocations: 0 / 379.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3046, allocations: 0 / 379.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002492/0.3048, allocations: 0 / 379.1 MB, free: 15.27 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.0115/0.3163, allocations: 6.605 MB / 385.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3164, allocations: 8.031 kB / 385.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.3177, allocations: 0.8455 MB / 386.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.3217, allocations: 3.163 MB / 389.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.3218, allocations: 160.5 kB / 389.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.3221, allocations: 212 kB / 390.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.3261, allocations: 2.139 MB / 392.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.3262, allocations: 0 / 392.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.3264, allocations: 88 kB / 392.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.3264, allocations: 48 kB / 392.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.3305, allocations: 1.946 MB / 394.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.345, allocations: 8.981 MB / 403.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004077/0.3492, allocations: 2.35 MB / 405.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.3519, allocations: 1.392 MB / 407 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.352, allocations: 38.28 kB / 407 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/0.3542, allocations: 1.175 MB / 408.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=242): time 4.088e-06/0.3542, allocations: 0 / 408.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=367): time 0.06497/0.4192, allocations: 23.09 MB / 431.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03003/0.4492, allocations: 13.23 MB / 444.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1792/0.6285, allocations: 14.89 MB / 459.4 MB, free: 106.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004812/0.629, allocations: 85.14 kB / 459.5 MB, free: 106.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002714/0.6317, allocations: 3.726 MB / 463.2 MB, free: 104 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.6329, allocations: 1.217 MB / 464.4 MB, free: 103.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.6333, allocations: 257.4 kB / 464.7 MB, free: 103.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.6333, allocations: 304.5 kB / 465 MB, free: 103.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.6357, allocations: 1.271 MB / 466.3 MB, free: 102.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.6383, allocations: 1.641 MB / 467.9 MB, free: 101.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.643, allocations: 3.041 MB / 470.9 MB, free: 100.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.6431, allocations: 3.594 kB / 471 MB, free: 100.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01042/0.6535, allocations: 5.252 MB / 476.2 MB, free: 98.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.6536, allocations: 7.562 kB / 476.2 MB, free: 98.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.6536, allocations: 3.75 kB / 476.2 MB, free: 98.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/0.6588, allocations: 1.401 MB / 477.6 MB, free: 97.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.6615, allocations: 0.5444 MB / 478.2 MB, free: 97.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02223/0.6838, allocations: 21.94 MB / 0.4884 GB, free: 75.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.6871, allocations: 144 kB / 0.4885 GB, free: 75.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.6874, allocations: 112 kB / 0.4886 GB, free: 75.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.002566/0.69, allocations: 2.192 MB / 0.4908 GB, free: 73.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/0.6909, allocations: 0.8136 MB / 0.4916 GB, free: 72.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.7009, allocations: 5.273 MB / 0.4967 GB, free: 66.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.701, allocations: 36.14 kB / 0.4967 GB, free: 66.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.701, allocations: 11.97 kB / 0.4968 GB, free: 66.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.701, allocations: 19.94 kB / 0.4968 GB, free: 66.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.7181, allocations: 11.14 MB / 0.5076 GB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/0.7181, allocations: 0 / 0.5076 GB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/0.7205, allocations: 471.5 kB / 0.5081 GB, free: 55.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005122/0.7257, allocations: 1.339 MB / 0.5094 GB, free: 53.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004535/0.7262, allocations: 79.91 kB / 0.5095 GB, free: 53.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.746, allocations: 20.04 MB / 0.5291 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02365/0.7697, allocations: 11.59 MB / 0.5404 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.7828, allocations: 7.017 MB / 0.5472 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.7842, allocations: 0.7599 MB / 0.548 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006734/0.7849, allocations: 68 kB / 0.548 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.7871, allocations: 123.9 kB / 0.5481 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006595/0.7878, allocations: 271.4 kB / 0.5484 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.788, allocations: 91.97 kB / 0.5485 GB, free: 12.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.01026/0.7983, allocations: 11.12 MB / 0.5594 GB, free: 1.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7983, allocations: 0 / 0.5594 GB, free: 1.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004408/0.8027, allocations: 1.078 MB / 0.5604 GB, free: 80 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.8042, allocations: 0.5015 MB / 0.5609 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008964/0.8132, allocations: 4.834 MB / 0.5656 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.8132, allocations: 0 / 0.5656 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005723/0.8189, allocations: 3.299 MB / 0.5688 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/0.8239, allocations: 0.5189 MB / 0.5693 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/0.8546, allocations: 20.39 MB / 0.5893 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005065/0.8598, allocations: 4.014 MB / 0.5932 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002095/0.8619, allocations: 304.9 kB / 0.5935 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.8625, allocations: 171.4 kB / 0.5936 GB, free: 13.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8626, allocations: 4 kB / 0.5936 GB, free: 13.72 MB / 430.1 MB Notification: Performance of Templates: time 0.2686/1.131, allocations: 61.4 MB / 0.6536 GB, free: 106.5 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)