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.0009728/0.000977, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001164/0.001164, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005003/0.0005004, allocations: 11.98 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01124/0.2709, allocations: 9.639 MB / 336.1 MB, free: 9.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008096/0.2791, allocations: 3.092 MB / 339.2 MB, free: 6.727 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.2811, allocations: 35.88 kB / 339.2 MB, free: 6.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.2821, allocations: 0.5676 MB / 339.8 MB, free: 6.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.2839, allocations: 0.7646 MB / 340.6 MB, free: 5.352 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.2853, allocations: 0.5539 MB / 341.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.2883, allocations: 3.014 MB / 344.1 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009728/0.2893, allocations: 0.68 MB / 344.8 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.2907, allocations: 1.008 MB / 345.8 MB, free: 60 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.2921, allocations: 1.241 MB / 347.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.2924, allocations: 144 kB / 347.2 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.2928, allocations: 168 kB / 347.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.2932, allocations: 0.4901 MB / 347.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.2937, allocations: 0.5081 MB / 348.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.2965, allocations: 3.334 MB / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2965, allocations: 0 / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2965, allocations: 0 / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.538e-05/0.2966, allocations: 7.938 kB / 351.7 MB, free: 10.15 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.005495/0.3021, allocations: 2.745 MB / 354.5 MB, free: 7.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3021, allocations: 12.03 kB / 354.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/0.3025, allocations: 296.4 kB / 354.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.3046, allocations: 1.325 MB / 356.1 MB, free: 5.652 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3048, allocations: 156.1 kB / 356.2 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.305, allocations: 200 kB / 356.4 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.3086, allocations: 1.905 MB / 358.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/0.3087, allocations: 7.906 kB / 358.3 MB, free: 3.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.3089, allocations: 84 kB / 358.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.3089, allocations: 48 kB / 358.5 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/0.3127, allocations: 1.964 MB / 360.4 MB, free: 1.223 MB / 286.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.01149/0.3242, allocations: 7.492 MB / 367.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.3277, allocations: 2.287 MB / 370.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.3303, allocations: 1.382 MB / 371.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.3305, allocations: 33.97 kB / 371.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.3306, allocations: 64.56 kB / 371.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.178e-06/0.3306, allocations: 0 / 371.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.0581/0.3887, allocations: 17.79 MB / 389.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3888, allocations: 90.17 kB / 389.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.3917, allocations: 1.832 MB / 391.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003248/0.3921, allocations: 81.7 kB / 391.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/0.3928, allocations: 0.981 MB / 392.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.394, allocations: 1.155 MB / 393.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.3943, allocations: 64 kB / 393.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.3945, allocations: 428.7 kB / 394.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.3972, allocations: 1.232 MB / 395.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.4002, allocations: 1.541 MB / 396.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.4033, allocations: 1.412 MB / 398.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4034, allocations: 4 kB / 398.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01073/0.4141, allocations: 4.467 MB / 402.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.4142, allocations: 8 kB / 402.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.4142, allocations: 4 kB / 402.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005125/0.4193, allocations: 1.33 MB / 404.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/0.4221, allocations: 0.5422 MB / 404.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/0.4466, allocations: 18.86 MB / 423.5 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.449, allocations: 120 kB / 423.6 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/0.4495, allocations: 108 kB / 423.7 MB, free: 244 kB / 350.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 (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 (298): * Single equations (assignments): 291 * 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%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.451, allocations: 0.5794 MB / 424.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/0.4515, allocations: 252.9 kB / 424.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009914/0.4614, allocations: 4.42 MB / 429 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.4615, allocations: 36 kB / 429 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.4615, allocations: 3.984 kB / 429 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.4616, allocations: 19.94 kB / 429 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/0.4873, allocations: 8.445 MB / 437.5 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/0.4874, allocations: 4 kB / 437.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/0.4908, allocations: 471.6 kB / 437.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007195/0.498, allocations: 1.255 MB / 439.2 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004326/0.4984, allocations: 75.92 kB / 439.3 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2467/0.7452, allocations: 17.48 MB / 456.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.7452, allocations: 9.031 kB / 456.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.7594, allocations: 6.147 MB / 462.9 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.7609, allocations: 0.6179 MB / 463.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.7613, allocations: 59.25 kB / 463.6 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.7629, allocations: 126.5 kB / 463.7 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/0.7635, allocations: 259.9 kB / 463.9 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.7637, allocations: 89.59 kB / 464 MB, free: 106.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.7655, allocations: 1.277 MB / 465.3 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7655, allocations: 0 / 465.3 MB, free: 105.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002882/0.7684, allocations: 0.8622 MB / 466.2 MB, free: 105.6 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 (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%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.7694, allocations: 446.2 kB / 466.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0067/0.7762, allocations: 4.466 MB / 471.1 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7762, allocations: 3.375 kB / 471.1 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004371/0.7806, allocations: 2.987 MB / 474.1 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.7827, allocations: 366.8 kB / 474.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.7918, allocations: 6.664 MB / 481.1 MB, free: 94.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.7929, allocations: 1.705 MB / 482.8 MB, free: 93.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002035/0.795, allocations: 298.1 kB / 483.1 MB, free: 92.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/0.7956, allocations: 154.6 kB / 483.2 MB, free: 92.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.7956, allocations: 0 / 483.2 MB, free: 92.66 MB / 382.1 MB Notification: Performance of Templates: time 0.07557/0.8712, allocations: 47.84 MB / 0.5186 GB, free: 44.96 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)