Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007739/0.0007741, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008332/0.0008333, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0006735/0.0006735, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2493, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01076/0.2602, allocations: 9.64 MB / 336.1 MB, free: 9.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.2671, allocations: 3.084 MB / 339.2 MB, free: 6.734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.2699, allocations: 35.88 kB / 339.2 MB, free: 6.699 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.2717, allocations: 0.5638 MB / 339.8 MB, free: 6.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.2743, allocations: 0.753 MB / 340.6 MB, free: 5.375 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.2761, allocations: 0.5617 MB / 341.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004101/0.2802, allocations: 3.014 MB / 344.1 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.2814, allocations: 0.6801 MB / 344.8 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.283, allocations: 1.016 MB / 345.8 MB, free: 68 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.2844, allocations: 1.241 MB / 347.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.2847, allocations: 140 kB / 347.2 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.2851, allocations: 164 kB / 347.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.2855, allocations: 0.4902 MB / 347.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005216/0.2861, allocations: 0.5159 MB / 348.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.2887, allocations: 3.342 MB / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2887, allocations: 0 / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2887, allocations: 0 / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.734e-05/0.2888, allocations: 0 / 351.7 MB, free: 10.16 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00608/0.2949, allocations: 2.733 MB / 354.5 MB, free: 7.355 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2949, allocations: 12.02 kB / 354.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.2954, allocations: 296.4 kB / 354.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.2977, allocations: 1.325 MB / 356.1 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.2978, allocations: 156.1 kB / 356.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.2981, allocations: 204 kB / 356.4 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.3019, allocations: 1.901 MB / 358.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.302, allocations: 7.891 kB / 358.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.3022, allocations: 88 kB / 358.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.3022, allocations: 48 kB / 358.5 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.3061, allocations: 1.957 MB / 360.4 MB, free: 1.246 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.3181, allocations: 7.488 MB / 367.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.3217, allocations: 2.294 MB / 370.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.3242, allocations: 1.386 MB / 371.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.3244, allocations: 37.97 kB / 371.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3245, allocations: 56.56 kB / 371.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 5.059e-06/0.3245, allocations: 0 / 371.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.05994/0.3844, allocations: 17.79 MB / 389.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.3845, allocations: 86.17 kB / 389.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.3877, allocations: 1.84 MB / 391.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004234/0.3881, allocations: 81.7 kB / 391.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008527/0.389, allocations: 0.9849 MB / 392.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/0.3904, allocations: 1.159 MB / 393.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.3907, allocations: 60 kB / 393.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.3909, allocations: 420.7 kB / 394.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.3938, allocations: 1.236 MB / 395.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.3969, allocations: 1.541 MB / 396.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.3999, allocations: 1.412 MB / 398.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.3999, allocations: 8 kB / 398.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01114/0.4111, allocations: 4.471 MB / 402.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.4112, allocations: 8 kB / 402.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.4112, allocations: 4 kB / 402.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/0.4167, allocations: 1.33 MB / 404.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.4196, allocations: 0.5344 MB / 404.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0266/0.4462, allocations: 18.85 MB / 423.5 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/0.4489, allocations: 120 kB / 423.6 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005274/0.4495, allocations: 108 kB / 423.7 MB, free: 264 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001825/0.4513, allocations: 0.5833 MB / 424.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/0.4519, allocations: 252.9 kB / 424.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.463, allocations: 4.431 MB / 429 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.463, allocations: 32 kB / 429 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.4631, allocations: 4 kB / 429 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/0.4631, allocations: 16.08 kB / 429 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.4808, allocations: 8.437 MB / 437.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.4809, allocations: 8.031 kB / 437.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/0.4834, allocations: 475.3 kB / 437.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/0.4888, allocations: 1.259 MB / 439.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003404/0.4892, allocations: 71.97 kB / 439.3 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2104/0.6996, allocations: 17.48 MB / 456.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.6996, allocations: 12.19 kB / 456.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.7144, allocations: 6.149 MB / 462.9 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.716, allocations: 0.617 MB / 463.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.7163, allocations: 59.28 kB / 463.6 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.7179, allocations: 123.2 kB / 463.7 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005719/0.7185, allocations: 264 kB / 464 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/0.7187, allocations: 86.86 kB / 464 MB, free: 106.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.7203, allocations: 1.279 MB / 465.3 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7203, allocations: 0 / 465.3 MB, free: 105.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002497/0.7228, allocations: 0.8621 MB / 466.2 MB, free: 105.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009581/0.7238, allocations: 450 kB / 466.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006465/0.7302, allocations: 4.465 MB / 471.1 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7303, allocations: 0 / 471.1 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/0.7342, allocations: 2.977 MB / 474.1 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.7361, allocations: 365.4 kB / 474.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/0.7441, allocations: 6.667 MB / 481.1 MB, free: 94.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.7453, allocations: 1.711 MB / 482.8 MB, free: 93.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001918/0.7472, allocations: 291.8 kB / 483.1 MB, free: 92.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/0.7479, allocations: 154.3 kB / 483.2 MB, free: 92.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7479, allocations: 4 kB / 483.2 MB, free: 92.66 MB / 382.1 MB Notification: Performance of Templates: time 0.0628/0.8107, allocations: 47.84 MB / 0.5186 GB, free: 44.96 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)