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.001007/0.001007, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008631/0.008632, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.524/1.524, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004609/0.0004608, allocations: 14.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 47.58 MB / 327 MB, free: 1.539 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01984/0.2641, allocations: 10.32 MB / 337.4 MB, free: 9.129 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.2769, allocations: 3.15 MB / 340.5 MB, free: 5.965 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.2805, allocations: 35.88 kB / 340.5 MB, free: 5.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.2832, allocations: 0.595 MB / 341.1 MB, free: 5.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005845/0.2891, allocations: 0.7725 MB / 341.9 MB, free: 4.555 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.2935, allocations: 0.8273 MB / 342.7 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007765/0.3013, allocations: 3.205 MB / 345.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.3037, allocations: 0.7572 MB / 346.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.3067, allocations: 1.039 MB / 347.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.3101, allocations: 1.311 MB / 349 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009108/0.311, allocations: 140 kB / 349.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.3122, allocations: 172 kB / 349.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.3133, allocations: 0.49 MB / 349.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002807/0.3161, allocations: 1.28 MB / 351.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007095/0.3232, allocations: 3.981 MB / 355.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3233, allocations: 0 / 355.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3233, allocations: 0 / 355.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.3234, allocations: 0 / 355.1 MB, free: 7.281 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.01261/0.336, allocations: 2.702 MB / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.3362, allocations: 12.03 kB / 357.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3376, allocations: 297.3 kB / 358.1 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.3413, allocations: 1.383 MB / 359.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3415, allocations: 156.5 kB / 359.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006353/0.3422, allocations: 216 kB / 359.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005803/0.348, allocations: 1.924 MB / 361.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.087e-05/0.3481, allocations: 3.906 kB / 361.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.3484, allocations: 88 kB / 361.9 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/0.3484, allocations: 48 kB / 361.9 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005341/0.3538, allocations: 1.972 MB / 363.9 MB, free: 14.3 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.01571/0.3695, allocations: 7.488 MB / 371.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.3737, allocations: 2.306 MB / 373.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.3767, allocations: 1.382 MB / 375.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.3769, allocations: 33.97 kB / 375.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.3769, allocations: 64.5 kB / 375.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.829e-06/0.377, allocations: 0 / 375.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.06586/0.4428, allocations: 17.91 MB / 393.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.4429, allocations: 86.17 kB / 393.2 MB, free: 484 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.4458, allocations: 1.848 MB / 395 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004563/0.4463, allocations: 81.7 kB / 395.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007445/0.447, allocations: 0.9733 MB / 396.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.4483, allocations: 1.163 MB / 397.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005161/0.4488, allocations: 248.5 kB / 397.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.4489, allocations: 301.1 kB / 397.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/0.4518, allocations: 1.248 MB / 399 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.4548, allocations: 1.556 MB / 400.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006073/0.4609, allocations: 2.932 MB / 403.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4609, allocations: 0 / 403.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01131/0.4722, allocations: 4.498 MB / 408 MB, free: 1.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.4723, allocations: 8 kB / 408 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.4723, allocations: 4 kB / 408 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005601/0.4779, allocations: 1.345 MB / 409.3 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.4809, allocations: 0.5422 MB / 409.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/0.5079, allocations: 18.9 MB / 428.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.5105, allocations: 120 kB / 428.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.511, allocations: 104 kB / 429 MB, free: 11.4 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.001456/0.5125, allocations: 0.5835 MB / 429.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/0.513, allocations: 256.8 kB / 429.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.5238, allocations: 4.447 MB / 434.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.5239, allocations: 36 kB / 434.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.5239, allocations: 7.938 kB / 434.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/0.524, allocations: 15.94 kB / 434.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.5409, allocations: 8.464 MB / 442.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/0.5409, allocations: 4 kB / 442.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/0.5434, allocations: 479.6 kB / 443.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005495/0.5489, allocations: 1.267 MB / 444.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004916/0.5494, allocations: 67.97 kB / 444.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1972/0.7466, allocations: 17.52 MB / 462.1 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7467, allocations: 6.656 kB / 462.2 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.759, allocations: 6.183 MB / 468.3 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.7602, allocations: 0.6165 MB / 469 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.7605, allocations: 59.44 kB / 469 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.7621, allocations: 131.6 kB / 469.1 MB, free: 103.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006882/0.7628, allocations: 256.4 kB / 469.4 MB, free: 103.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.763, allocations: 90.52 kB / 469.5 MB, free: 103.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00143/0.7644, allocations: 1.289 MB / 470.8 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7644, allocations: 0 / 470.8 MB, free: 103.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002549/0.767, allocations: 0.8606 MB / 471.6 MB, free: 103 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.001005/0.768, allocations: 453.3 kB / 472.1 MB, free: 102.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006657/0.7747, allocations: 4.491 MB / 476.6 MB, free: 99.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/0.7747, allocations: 0 / 476.6 MB, free: 99.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004263/0.779, allocations: 2.985 MB / 479.5 MB, free: 96.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.7816, allocations: 361 kB / 479.9 MB, free: 96.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/0.7898, allocations: 6.984 MB / 486.9 MB, free: 90.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.7909, allocations: 1.706 MB / 488.6 MB, free: 88.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001651/0.7925, allocations: 292.1 kB / 488.9 MB, free: 88.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.7931, allocations: 155.4 kB / 489 MB, free: 88.01 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7931, allocations: 0 / 489 MB, free: 88.01 MB / 382.1 MB Notification: Performance of Templates: time 0.07827/0.8714, allocations: 49.07 MB / 0.5255 GB, free: 38.86 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)