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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 92.92 kB / 16.3 MB, free: 6.457 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.001039/0.001039, allocations: 182.4 kB / 17.2 MB, free: 6.34 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.609/1.609, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.000454/0.000454, allocations: 11.28 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009197/0.1187, allocations: 8.801 MB / 336.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006411/0.1252, allocations: 3.22 MB / 339.7 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.1265, allocations: 35.88 kB / 339.8 MB, free: 7.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.1276, allocations: 0.556 MB / 340.3 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.1299, allocations: 0.9154 MB / 341.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1317, allocations: 0.5499 MB / 341.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.135, allocations: 2.055 MB / 343.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.136, allocations: 0.6956 MB / 344.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.1373, allocations: 0.9964 MB / 345.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1385, allocations: 1.198 MB / 346.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.1388, allocations: 136 kB / 346.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1391, allocations: 148 kB / 347 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.1395, allocations: 482.1 kB / 347.5 MB, free: 244 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.1399, allocations: 0.5159 MB / 348 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.1428, allocations: 3.283 MB / 351.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1428, allocations: 0 / 351.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1428, allocations: 4 kB / 351.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.921e-05/0.1429, allocations: 0 / 351.3 MB, free: 12.42 MB / 302.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.005869/0.1487, allocations: 2.73 MB / 354 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1488, allocations: 8.031 kB / 354 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.1492, allocations: 296.4 kB / 354.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.1518, allocations: 1.438 MB / 355.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.1519, allocations: 156.1 kB / 355.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.1522, allocations: 203.9 kB / 356.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.1556, allocations: 1.854 MB / 357.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.1556, allocations: 4 kB / 357.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.1558, allocations: 88 kB / 358 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.1559, allocations: 48 kB / 358.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.1594, allocations: 1.89 MB / 360 MB, free: 3.52 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.01056/0.17, allocations: 7.277 MB / 367.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.1732, allocations: 2.223 MB / 369.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.1733, allocations: 37.97 kB / 369.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1734, allocations: 64.48 kB / 369.6 MB, free: 9.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 3.887e-06/0.1734, allocations: 4 kB / 369.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=361): time 0.2546/0.428, allocations: 17.19 MB / 386.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07604/0.5041, allocations: 30.26 MB / 417 MB, free: 24.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.5065, allocations: 1.789 MB / 418.8 MB, free: 22.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007703/0.5073, allocations: 85.7 kB / 418.9 MB, free: 22.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.5078, allocations: 0.9778 MB / 419.9 MB, free: 21.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00099/0.5088, allocations: 1.186 MB / 421.1 MB, free: 20.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.509, allocations: 72 kB / 421.1 MB, free: 20.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5092, allocations: 432.9 kB / 421.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.5113, allocations: 1.19 MB / 422.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.5134, allocations: 1.494 MB / 424.2 MB, free: 17.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.5156, allocations: 1.374 MB / 425.6 MB, free: 16.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5156, allocations: 4 kB / 425.6 MB, free: 16.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008617/0.5243, allocations: 4.384 MB / 430 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5243, allocations: 4 kB / 430 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.5243, allocations: 4 kB / 430 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/0.5286, allocations: 1.284 MB / 431.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.5311, allocations: 0.5578 MB / 431.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.5517, allocations: 18.17 MB / 450 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.5551, allocations: 152 kB / 450.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/0.5554, allocations: 112 kB / 450.3 MB, free: 6.387 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (305): * Single equations (assignments): 296 * Array equations: 2 * 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%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001708/0.5571, allocations: 0.5845 MB / 450.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.5576, allocations: 260.8 kB / 451.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00998/0.5676, allocations: 4.386 MB / 455.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008374/0.576, allocations: 3.824 MB / 459.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.576, allocations: 4 kB / 459.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/0.5761, allocations: 15.94 kB / 459.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.5937, allocations: 8.71 MB / 468 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.5938, allocations: 8 kB / 468.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/0.5961, allocations: 471.6 kB / 468.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004889/0.601, allocations: 1.329 MB / 469.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003175/0.6014, allocations: 71.97 kB / 469.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/0.6222, allocations: 17 MB / 486.9 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07062/0.6929, allocations: 26.93 MB / 0.5018 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.7063, allocations: 6.13 MB / 0.5078 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.7081, allocations: 0.5874 MB / 0.5084 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.7084, allocations: 64 kB / 0.5084 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.7103, allocations: 139.9 kB / 0.5086 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008397/0.7111, allocations: 270.9 kB / 0.5088 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/0.7113, allocations: 99.97 kB / 0.5089 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.7133, allocations: 1.235 MB / 0.5101 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7133, allocations: 0 / 0.5101 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00354/0.7168, allocations: 0.9545 MB / 0.511 GB, free: 11.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 () * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.718, allocations: 441.5 kB / 0.5115 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008044/0.726, allocations: 4.426 MB / 0.5158 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.7261, allocations: 0 / 0.5158 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005213/0.7313, allocations: 3.055 MB / 0.5188 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.7338, allocations: 305.8 kB / 0.5191 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2305/0.9643, allocations: 7.991 MB / 0.5269 GB, free: 126.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.9663, allocations: 1.824 MB / 0.5287 GB, free: 126 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002489/0.9688, allocations: 339.3 kB / 0.529 GB, free: 126 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/0.9695, allocations: 165.2 kB / 0.5291 GB, free: 126 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.9695, allocations: 0 / 0.5291 GB, free: 126 MB / 414.1 MB Notification: Performance of Templates: time 0.09389/1.063, allocations: 55.54 MB / 0.5834 GB, free: 85.64 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: