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.001683/0.001683, allocations: 99.36 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.001768/0.001768, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.473/1.473, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.001116/0.001116, allocations: 39.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2228, allocations: 46.64 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0123/0.2351, allocations: 10.89 MB / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.2425, allocations: 3.177 MB / 338.9 MB, free: 5.988 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.2448, allocations: 35.88 kB / 339 MB, free: 5.953 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2462, allocations: 0.5833 MB / 339.5 MB, free: 5.367 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.2488, allocations: 0.7803 MB / 340.3 MB, free: 4.582 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.2505, allocations: 0.8273 MB / 341.1 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003938/0.2545, allocations: 3.431 MB / 344.6 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2556, allocations: 0.8943 MB / 345.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.257, allocations: 1.289 MB / 346.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.2585, allocations: 1.521 MB / 348.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.2589, allocations: 348 kB / 348.6 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.2594, allocations: 376 kB / 349 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.2599, allocations: 0.7242 MB / 349.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.2611, allocations: 1.47 MB / 351.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.2649, allocations: 4.225 MB / 355.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2649, allocations: 0 / 355.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2649, allocations: 4 kB / 355.4 MB, free: 5.414 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.49e-05/0.265, allocations: 0 / 355.4 MB, free: 5.414 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.007016/0.272, allocations: 3.119 MB / 358.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2721, allocations: 15.89 kB / 358.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.2725, allocations: 289.4 kB / 358.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.2747, allocations: 1.387 MB / 360.2 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.2748, allocations: 156.5 kB / 360.4 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.2751, allocations: 208 kB / 360.6 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003691/0.2788, allocations: 1.897 MB / 362.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/0.2789, allocations: 4 kB / 362.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.2791, allocations: 80 kB / 362.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.2791, allocations: 52 kB / 362.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.2832, 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.01228/0.2954, allocations: 7.445 MB / 372 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.2991, allocations: 2.279 MB / 374.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.3017, allocations: 1.37 MB / 375.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.3018, allocations: 37.95 kB / 375.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.3019, allocations: 56.56 kB / 375.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.198e-06/0.3019, allocations: 3.938 kB / 375.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.05967/0.3616, allocations: 17.59 MB / 393.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3617, allocations: 94.16 kB / 393.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.3643, allocations: 1.84 MB / 395.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004714/0.3648, allocations: 85.69 kB / 395.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.3656, allocations: 0.9733 MB / 396.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.3667, allocations: 1.163 MB / 397.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009036/0.3676, allocations: 499.5 kB / 397.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3677, allocations: 301.1 kB / 398.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/0.3702, allocations: 1.217 MB / 399.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.3728, allocations: 1.529 MB / 401 MB, free: 6.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/0.3779, allocations: 2.885 MB / 403.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.3779, allocations: 0 / 403.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0102/0.3881, allocations: 4.447 MB / 408.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.3882, allocations: 8 kB / 408.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.3882, allocations: 8 kB / 408.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.3935, allocations: 1.338 MB / 409.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.3961, allocations: 0.5227 MB / 410.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02499/0.4211, allocations: 20.61 MB / 430.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.4235, allocations: 104 kB / 430.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.4238, allocations: 107.9 kB / 431 MB, free: 7.82 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.001143/0.4249, allocations: 0.5795 MB / 431.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.4253, allocations: 256.8 kB / 431.8 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00979/0.4351, allocations: 4.392 MB / 436.2 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.4352, allocations: 35.98 kB / 436.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.4352, allocations: 7.938 kB / 436.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/0.4352, allocations: 19.92 kB / 436.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.4502, allocations: 8.402 MB / 444.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.4503, allocations: 4 kB / 444.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/0.4525, allocations: 455.4 kB / 445.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00498/0.4575, allocations: 1.275 MB / 446.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.4578, allocations: 67.98 kB / 446.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1929/0.6507, allocations: 19.2 MB / 465.7 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6508, allocations: 3.188 kB / 465.7 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.6619, allocations: 6.109 MB / 471.8 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.6628, allocations: 0.6095 MB / 472.4 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.6631, allocations: 62.59 kB / 472.5 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.6647, allocations: 109.5 kB / 472.6 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005483/0.6653, allocations: 251.1 kB / 472.8 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.6654, allocations: 92.05 kB / 472.9 MB, free: 100.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.6667, allocations: 1.286 MB / 474.2 MB, free: 99.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6667, allocations: 3.438 kB / 474.2 MB, free: 99.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002134/0.6688, allocations: 0.8618 MB / 475 MB, free: 99.59 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.000954/0.6698, allocations: 440.8 kB / 475.5 MB, free: 99.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01191/0.6817, allocations: 4.598 MB / 480.1 MB, free: 95.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6817, allocations: 0 / 480.1 MB, free: 95.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003564/0.6853, allocations: 2.981 MB / 483.1 MB, free: 92.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.6872, allocations: 378.9 kB / 483.4 MB, free: 92.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.6948, allocations: 6.773 MB / 490.2 MB, free: 85.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/0.6957, allocations: 1.71 MB / 491.9 MB, free: 84.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001481/0.6972, allocations: 292.1 kB / 492.2 MB, free: 83.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.6977, allocations: 165.9 kB / 492.4 MB, free: 83.69 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6978, allocations: 0 / 492.4 MB, free: 83.69 MB / 382.1 MB Notification: Performance of Templates: time 0.05885/0.7566, allocations: 52.06 MB / 0.5317 GB, free: 31.55 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)