Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001549/0.001549, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.4/1.4, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 121.1 kB / 248.1 MB, free: 6.375 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.699e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08936, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2627/0.3521, allocations: 86.5 MB / 429.1 MB, free: 9.453 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.3523, allocations: 85.39 kB / 429.2 MB, free: 9.41 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1232/0.4755, allocations: 48.92 MB / 478.1 MB, free: 15.98 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4755, allocations: 0 / 478.1 MB, free: 15.98 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.4756, allocations: 51.98 kB / 478.1 MB, free: 15.93 MB / 363.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.005032/0.4807, allocations: 2.316 MB / 480.4 MB, free: 13.55 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4807, allocations: 8.031 kB / 480.5 MB, free: 13.54 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.4812, allocations: 296.4 kB / 480.7 MB, free: 13.25 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.4836, allocations: 1.321 MB / 482.1 MB, free: 11.87 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.4838, allocations: 80.62 kB / 482.1 MB, free: 11.79 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.484, allocations: 120 kB / 482.3 MB, free: 11.68 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003152/0.4872, allocations: 1.664 MB / 483.9 MB, free: 10 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.4902, allocations: 1.487 MB / 485.4 MB, free: 8.469 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-05/0.4903, allocations: 7.906 kB / 485.4 MB, free: 8.461 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4905, allocations: 0 / 485.4 MB, free: 8.461 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.4905, allocations: 48 kB / 485.5 MB, free: 8.414 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.5025, allocations: 7.271 MB / 492.7 MB, free: 0.8906 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.5055, allocations: 2.141 MB / 494.9 MB, free: 14.7 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.5075, allocations: 1.219 MB / 496.1 MB, free: 13.49 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.5077, allocations: 33.97 kB / 496.1 MB, free: 13.46 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.5078, allocations: 56.56 kB / 496.2 MB, free: 13.39 MB / 379.1 MB Notification: Performance of pre-optimization done (n=240): time 1.308e-05/0.5078, allocations: 4 kB / 496.2 MB, free: 13.39 MB / 379.1 MB Notification: Performance of matching and sorting (n=372): time 0.03422/0.542, allocations: 12.5 MB / 0.4968 GB, free: 0.7852 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.5421, allocations: 90.31 kB / 0.4969 GB, free: 0.6836 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.5445, allocations: 1.489 MB / 0.4983 GB, free: 15.18 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.5449, allocations: 25.7 kB / 0.4983 GB, free: 15.15 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/0.5455, allocations: 0.9616 MB / 0.4993 GB, free: 14.18 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009525/0.5465, allocations: 1.177 MB / 0.5004 GB, free: 12.98 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.5467, allocations: 0 / 0.5004 GB, free: 12.98 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.5469, allocations: 441.1 kB / 0.5008 GB, free: 12.54 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.549, allocations: 1.186 MB / 0.502 GB, free: 11.36 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.5512, allocations: 1.452 MB / 0.5034 GB, free: 9.859 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.5536, allocations: 1.363 MB / 0.5047 GB, free: 8.488 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.5536, allocations: 4 kB / 0.5048 GB, free: 8.484 MB / 395.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.009779/0.5634, allocations: 4.269 MB / 0.5089 GB, free: 4.168 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.5635, allocations: 33.7 kB / 0.509 GB, free: 4.129 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.5635, allocations: 4 kB / 0.509 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00524/0.5688, allocations: 1.292 MB / 0.5102 GB, free: 2.816 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.5717, allocations: 0.5811 MB / 0.5108 GB, free: 2.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1895/0.7611, allocations: 18.5 MB / 0.5289 GB, free: 85.34 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.7639, allocations: 102.1 kB / 0.5289 GB, free: 85.34 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.7642, allocations: 123.6 kB / 0.5291 GB, free: 85.34 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 305 * 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%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.0005446/0.7647, allocations: 152.8 kB / 0.5292 GB, free: 85.23 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.7651, allocations: 255 kB / 0.5295 GB, free: 85.16 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/0.7739, allocations: 4.259 MB / 0.5336 GB, free: 84.88 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008063/0.782, allocations: 3.774 MB / 0.5373 GB, free: 84.65 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.7821, allocations: 3.25 kB / 0.5373 GB, free: 84.65 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/0.7821, allocations: 14.2 kB / 0.5373 GB, free: 84.65 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.7971, allocations: 9.14 MB / 0.5462 GB, free: 81.01 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.7971, allocations: 8.016 kB / 0.5463 GB, free: 81.01 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/0.7995, allocations: 0.4978 MB / 0.5467 GB, free: 81 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005159/0.8047, allocations: 1.361 MB / 0.5481 GB, free: 80.68 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.805, allocations: 27.22 kB / 0.5481 GB, free: 80.68 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.8244, allocations: 17.1 MB / 0.5648 GB, free: 67.94 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05183/0.8763, allocations: 26.48 MB / 0.5907 GB, free: 52.84 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.8875, allocations: 6.354 MB / 0.5969 GB, free: 49.59 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.889, allocations: 0.6947 MB / 0.5975 GB, free: 49.1 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/0.8894, allocations: 3.594 kB / 0.5975 GB, free: 49.1 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.8913, allocations: 99.61 kB / 0.5976 GB, free: 49.09 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006072/0.8919, allocations: 280 kB / 0.5979 GB, free: 49.04 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.8922, allocations: 102.6 kB / 0.598 GB, free: 49.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001337/0.8935, allocations: 1.134 MB / 0.5991 GB, free: 48.54 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8935, allocations: 0 / 0.5991 GB, free: 48.54 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003052/0.8966, allocations: 0.9156 MB / 0.6 GB, free: 48.54 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007345/0.8973, allocations: 256.9 kB / 0.6002 GB, free: 48.41 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005799/0.9031, allocations: 4.339 MB / 0.6045 GB, free: 46.05 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9032, allocations: 0 / 0.6045 GB, free: 46.05 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003861/0.907, allocations: 2.951 MB / 0.6074 GB, free: 44.31 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.9086, allocations: 244.1 kB / 0.6076 GB, free: 44.14 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/0.9171, allocations: 5.764 MB / 0.6132 GB, free: 38.81 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.9183, allocations: 1.83 MB / 0.615 GB, free: 37.35 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001916/0.9202, allocations: 319.6 kB / 0.6153 GB, free: 37.13 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/0.9209, allocations: 183 kB / 0.6155 GB, free: 36.98 MB / 395.1 MB Notification: Performance of SimCode: time 7.41e-07/0.9209, allocations: 0 / 0.6155 GB, free: 36.98 MB / 395.1 MB Notification: Performance of Templates: time 0.2513/1.172, allocations: 61.13 MB / 0.6752 GB, free: 80.41 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)