Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001134/0.001134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001289/0.001289, allocations: 188.1 kB / 16.25 MB, free: 6.617 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.411/1.411, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.00132/0.00132, allocations: 51.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2138, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01119/0.225, allocations: 10.9 MB / 335.7 MB, free: 9.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.2314, allocations: 3.177 MB / 338.9 MB, free: 5.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.2336, allocations: 39.88 kB / 339 MB, free: 5.941 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.2351, allocations: 0.5794 MB / 339.5 MB, free: 5.359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.2382, allocations: 0.7803 MB / 340.3 MB, free: 4.574 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.2403, allocations: 0.8234 MB / 341.1 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.245, allocations: 3.435 MB / 344.6 MB, free: 312 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.2464, allocations: 0.8904 MB / 345.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.2485, allocations: 1.296 MB / 346.8 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.2505, allocations: 1.51 MB / 348.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000575/0.251, allocations: 352 kB / 348.6 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.2517, allocations: 384 kB / 349 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.2524, allocations: 0.7125 MB / 349.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.2539, allocations: 1.477 MB / 351.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.2579, allocations: 4.228 MB / 355.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.2579, allocations: 7.938 kB / 355.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.258, allocations: 0 / 355.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.783e-05/0.2581, allocations: 0 / 355.4 MB, free: 5.398 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.00755/0.2656, allocations: 3.115 MB / 358.5 MB, free: 2.215 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2657, allocations: 11.89 kB / 358.5 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.2661, allocations: 293.4 kB / 358.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.2685, allocations: 1.383 MB / 360.2 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.2687, allocations: 152.5 kB / 360.4 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.269, allocations: 220 kB / 360.6 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/0.2729, allocations: 1.893 MB / 362.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.273, allocations: 0 / 362.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.2732, allocations: 80 kB / 362.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.2732, allocations: 52 kB / 362.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.277, allocations: 1.91 MB / 364.5 MB, free: 12.11 MB / 302.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.0124/0.2894, allocations: 7.449 MB / 372 MB, free: 4.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/0.293, allocations: 2.275 MB / 374.2 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.2956, allocations: 1.37 MB / 375.6 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.2957, allocations: 45.97 kB / 375.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.2958, allocations: 56.56 kB / 375.7 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 3.807e-06/0.2958, allocations: 0 / 375.7 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.06177/0.3576, allocations: 17.59 MB / 393.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.3577, allocations: 86.17 kB / 393.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.3614, allocations: 1.844 MB / 395.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006691/0.3621, allocations: 81.7 kB / 395.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009676/0.3631, allocations: 0.9733 MB / 396.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/0.3648, allocations: 1.163 MB / 397.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.3661, allocations: 0.4916 MB / 397.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3663, allocations: 301.1 kB / 398.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/0.37, allocations: 1.217 MB / 399.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003997/0.374, allocations: 1.533 MB / 401 MB, free: 6.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/0.3796, allocations: 2.874 MB / 403.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3796, allocations: 0 / 403.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0107/0.3903, allocations: 4.451 MB / 408.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.3904, allocations: 4 kB / 408.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.3904, allocations: 4 kB / 408.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005505/0.3959, allocations: 1.353 MB / 409.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.3988, allocations: 0.5188 MB / 410.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02685/0.4257, allocations: 20.6 MB / 430.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.4283, allocations: 103.9 kB / 430.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.4286, allocations: 115.9 kB / 431 MB, free: 7.805 MB / 366.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 (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 (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.4298, allocations: 0.5794 MB / 431.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.4302, allocations: 248.9 kB / 431.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.4403, allocations: 4.392 MB / 436.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.4403, allocations: 32 kB / 436.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4404, allocations: 11.94 kB / 436.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/0.4404, allocations: 16.08 kB / 436.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.4565, allocations: 8.406 MB / 444.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4566, allocations: 0 / 444.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/0.459, allocations: 463.6 kB / 445.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005233/0.4642, allocations: 1.263 MB / 446.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.4645, allocations: 67.98 kB / 446.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1816/0.6461, allocations: 19.21 MB / 465.7 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6462, allocations: 7.25 kB / 465.7 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.6579, allocations: 6.096 MB / 471.8 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.6591, allocations: 0.6076 MB / 472.4 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.6595, allocations: 72.31 kB / 472.4 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.6612, allocations: 112 kB / 472.6 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006919/0.6619, allocations: 255.3 kB / 472.8 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.6621, allocations: 86.77 kB / 472.9 MB, free: 100.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.6634, allocations: 1.29 MB / 474.2 MB, free: 99.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6634, allocations: 0 / 474.2 MB, free: 99.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002385/0.6658, allocations: 0.8664 MB / 475 MB, free: 99.65 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009531/0.6668, allocations: 434.3 kB / 475.5 MB, free: 99.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0128/0.6796, allocations: 4.601 MB / 480.1 MB, free: 95.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.6796, allocations: 0 / 480.1 MB, free: 95.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003856/0.6835, allocations: 2.974 MB / 483 MB, free: 92.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.6855, allocations: 382.5 kB / 483.4 MB, free: 92.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008232/0.6937, allocations: 6.781 MB / 490.2 MB, free: 85.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.6947, allocations: 1.705 MB / 491.9 MB, free: 84.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001713/0.6965, allocations: 288.1 kB / 492.2 MB, free: 83.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.697, allocations: 159.4 kB / 492.3 MB, free: 83.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.697, allocations: 2.516 kB / 492.3 MB, free: 83.71 MB / 382.1 MB Notification: Performance of Templates: time 0.08503/0.7821, allocations: 52.06 MB / 0.5316 GB, free: 31.58 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)