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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006535/0.006535, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.452/1.452, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001608/0.001608, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003282, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3845, allocations: 82.98 MB / 395.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.3849, allocations: 87.95 kB / 396 MB, free: 7.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3202/0.705, allocations: 44.16 MB / 440.1 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7051, allocations: 0 / 440.1 MB, free: 78.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.7052, allocations: 52.19 kB / 440.2 MB, free: 78.11 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.005576/0.7108, allocations: 2.614 MB / 442.8 MB, free: 76.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7109, allocations: 10.62 kB / 442.8 MB, free: 76.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.7114, allocations: 287.6 kB / 443.1 MB, free: 76.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.7136, allocations: 1.277 MB / 444.3 MB, free: 75.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.7138, allocations: 149.9 kB / 444.5 MB, free: 75.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.714, allocations: 204.6 kB / 444.7 MB, free: 75.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.7174, allocations: 1.855 MB / 446.5 MB, free: 74.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.7175, allocations: 7.297 kB / 446.6 MB, free: 74.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.7177, allocations: 81 kB / 446.6 MB, free: 74.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.7177, allocations: 49.81 kB / 446.7 MB, free: 74.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.7214, allocations: 1.939 MB / 448.6 MB, free: 73.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.7338, allocations: 7.461 MB / 456.1 MB, free: 66.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.737, allocations: 2.27 MB / 458.4 MB, free: 64.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.7373, allocations: 123.2 kB / 458.5 MB, free: 63.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.7373, allocations: 60.48 kB / 458.5 MB, free: 63.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=226): time 4.558e-06/0.7373, allocations: 0 / 458.5 MB, free: 63.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=350): time 0.06354/0.8009, allocations: 17.51 MB / 476 MB, free: 46.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1542/0.9551, allocations: 36.58 MB / 0.5006 GB, free: 9.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.9578, allocations: 1.631 MB / 0.5022 GB, free: 7.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007159/0.9585, allocations: 81.7 kB / 0.5023 GB, free: 7.402 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.959, allocations: 0.9599 MB / 0.5032 GB, free: 6.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008758/0.9599, allocations: 1.149 MB / 0.5043 GB, free: 5.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.9601, allocations: 67.94 kB / 0.5044 GB, free: 5.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9603, allocations: 428.7 kB / 0.5048 GB, free: 4.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.9626, allocations: 1.365 MB / 0.5061 GB, free: 3.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.965, allocations: 1.635 MB / 0.5077 GB, free: 1.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.9675, allocations: 1.562 MB / 0.5093 GB, free: 180 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.9675, allocations: 0 / 0.5093 GB, free: 180 kB / 314.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.008815/0.9763, allocations: 4.303 MB / 0.5135 GB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.9764, allocations: 33.7 kB / 0.5135 GB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.9764, allocations: 4 kB / 0.5135 GB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.9872, allocations: 1.56 MB / 0.515 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/0.9909, allocations: 0.585 MB / 0.5156 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009143/1, allocations: 9.901 MB / 0.5253 GB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/1.004, allocations: 167.9 kB / 0.5254 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003689/1.004, allocations: 131.9 kB / 0.5256 GB, free: 14.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (303): * Single equations (assignments): 293 * Array equations: 2 * Algorithm blocks: 1 * 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%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 48,2 38} Notification: Performance of prepare postOptimizeDAE: time 0.00158/1.006, allocations: 0.5659 MB / 0.5261 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/1.007, allocations: 256.9 kB / 0.5264 GB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008855/1.015, allocations: 4.264 MB / 0.5305 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007256/1.023, allocations: 3.68 MB / 0.5341 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/1.023, allocations: 4 kB / 0.5341 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.023, allocations: 19.92 kB / 0.5341 GB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2589/1.282, allocations: 9.372 MB / 0.5433 GB, free: 97.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.282, allocations: 3.844 kB / 0.5433 GB, free: 97.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003294/1.285, allocations: 0.5083 MB / 0.5438 GB, free: 97.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01248/1.298, allocations: 1.594 MB / 0.5453 GB, free: 97.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008432/1.299, allocations: 95.28 kB / 0.5454 GB, free: 97.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008592/1.307, allocations: 9.938 MB / 0.5551 GB, free: 89.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1338/1.441, allocations: 32.56 MB / 0.5869 GB, free: 75.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.452, allocations: 6.453 MB / 0.5932 GB, free: 69.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.455, allocations: 0.7067 MB / 0.5939 GB, free: 68.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/1.455, allocations: 60 kB / 0.594 GB, free: 68.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/1.458, allocations: 151.9 kB / 0.5941 GB, free: 68.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/1.458, allocations: 234.3 kB / 0.5943 GB, free: 68.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/1.459, allocations: 111.9 kB / 0.5945 GB, free: 67.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001821/1.46, allocations: 1.27 MB / 0.5957 GB, free: 66.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.774e-06/1.46, allocations: 0 / 0.5957 GB, free: 66.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003422/1.464, allocations: 0.8501 MB / 0.5965 GB, free: 65.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 37,5 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009862/1.465, allocations: 323.6 kB / 0.5968 GB, free: 65.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006609/1.471, allocations: 4.187 MB / 0.6009 GB, free: 61.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.471, allocations: 4.875 kB / 0.6009 GB, free: 61.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004168/1.476, allocations: 2.621 MB / 0.6035 GB, free: 58.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.478, allocations: 299 kB / 0.6038 GB, free: 58.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.489, allocations: 8.009 MB / 0.6116 GB, free: 50.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.491, allocations: 1.749 MB / 0.6133 GB, free: 48.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002399/1.493, allocations: 330.3 kB / 0.6136 GB, free: 48.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/1.494, allocations: 206.8 kB / 0.6138 GB, free: 48.02 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/1.494, allocations: 0 / 0.6138 GB, free: 48.02 MB / 346.7 MB Notification: Performance of Templates: time 0.07407/1.568, allocations: 50.81 MB / 0.6634 GB, free: 13.22 MB / 362.7 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)