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.0008479/0.000848, allocations: 90.22 kB / 16.65 MB, free: 6.602 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.000922/0.0009221, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.317/1.317, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004219/0.0004219, allocations: 15.94 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08257, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.009542/0.09215, allocations: 10.32 MB / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.09851, allocations: 3.157 MB / 341.8 MB, free: 6.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1004, allocations: 39.88 kB / 341.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.1017, allocations: 0.5871 MB / 342.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.1049, allocations: 0.7725 MB / 343.2 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.1069, allocations: 0.8195 MB / 344 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.1112, allocations: 3.201 MB / 347.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1123, allocations: 0.7649 MB / 348 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.1139, allocations: 1.042 MB / 349 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.1156, allocations: 1.314 MB / 350.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.1158, allocations: 140 kB / 350.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.1162, allocations: 164 kB / 350.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.1167, allocations: 0.5016 MB / 351.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.1177, allocations: 1.28 MB / 352.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.1206, allocations: 3.966 MB / 356.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1207, allocations: 0 / 356.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1207, allocations: 0 / 356.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.866e-05/0.1207, allocations: 4 kB / 356.4 MB, free: 7.535 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.006017/0.1267, allocations: 2.71 MB / 359.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1268, allocations: 8.031 kB / 359.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.1272, allocations: 293.4 kB / 359.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.1294, allocations: 1.387 MB / 360.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1295, allocations: 160.5 kB / 360.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.1298, allocations: 208.1 kB / 361.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.1336, allocations: 1.916 MB / 363.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.1337, allocations: 7.906 kB / 363.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.1339, allocations: 80 kB / 363.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.134, allocations: 52 kB / 363.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.1382, allocations: 1.976 MB / 365.2 MB, free: 14.55 MB / 318.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.01403/0.1522, allocations: 7.492 MB / 372.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.156, allocations: 2.297 MB / 375 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.1587, allocations: 1.378 MB / 376.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.1589, allocations: 45.89 kB / 376.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.1589, allocations: 60.56 kB / 376.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.468e-06/0.1589, allocations: 0 / 376.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2465/0.4055, allocations: 17.92 MB / 394.4 MB, free: 45.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4056, allocations: 89.55 kB / 394.4 MB, free: 45.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.4079, allocations: 1.836 MB / 396.3 MB, free: 44.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003494/0.4083, allocations: 81.23 kB / 396.4 MB, free: 44.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.4088, allocations: 0.9804 MB / 397.3 MB, free: 43.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007248/0.4095, allocations: 1.153 MB / 398.5 MB, free: 42.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.4098, allocations: 248.2 kB / 398.7 MB, free: 42.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.4099, allocations: 304.7 kB / 399 MB, free: 42.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.4124, allocations: 1.246 MB / 400.3 MB, free: 41.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.4148, allocations: 1.558 MB / 401.8 MB, free: 40.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.4196, allocations: 2.931 MB / 404.8 MB, free: 37.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.4197, allocations: 0 / 404.8 MB, free: 37.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009979/0.4297, allocations: 4.499 MB / 409.3 MB, free: 33.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.4297, allocations: 7.938 kB / 409.3 MB, free: 33.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4298, allocations: 12 kB / 409.3 MB, free: 33.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00527/0.435, allocations: 1.333 MB / 410.6 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.4379, allocations: 0.5422 MB / 411.2 MB, free: 31.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/0.4594, allocations: 18.89 MB / 430.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.4626, allocations: 127.9 kB / 430.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/0.4632, allocations: 111.2 kB / 430.3 MB, free: 11.33 MB / 318.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.001809/0.465, allocations: 0.5677 MB / 430.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/0.4659, allocations: 253.2 kB / 431.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.4763, allocations: 4.455 MB / 435.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.4764, allocations: 42.38 kB / 435.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.4764, allocations: 4 kB / 435.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.428e-05/0.4765, allocations: 15.94 kB / 435.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.494, allocations: 8.464 MB / 444.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.4941, allocations: 0 / 444.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.4966, allocations: 475.6 kB / 444.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/0.5023, allocations: 1.272 MB / 445.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/0.5028, allocations: 75.97 kB / 445.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02432/0.5272, allocations: 17.52 MB / 463.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.5272, allocations: 7.938 kB / 463.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/0.5437, allocations: 6.179 MB / 469.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/0.5455, allocations: 0.6187 MB / 470.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007266/0.5463, allocations: 64 kB / 470.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/0.5488, allocations: 127.9 kB / 470.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008589/0.5497, allocations: 250.9 kB / 470.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/0.55, allocations: 87.98 kB / 470.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.5523, allocations: 1.29 MB / 472 MB, free: 356 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.5523, allocations: 96 / 472 MB, free: 356 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.003776/0.5561, allocations: 0.8738 MB / 472.9 MB, free: 15.47 MB / 366.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.001202/0.5573, allocations: 458.6 kB / 473.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00869/0.5661, allocations: 4.484 MB / 477.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.5661, allocations: 4 kB / 477.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005411/0.5715, allocations: 2.994 MB / 480.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/0.5747, allocations: 361.8 kB / 481.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.5865, allocations: 6.976 MB / 488.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/0.5884, allocations: 1.702 MB / 489.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002303/0.5907, allocations: 296.1 kB / 490.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/0.5916, allocations: 159.4 kB / 490.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5916, allocations: 0 / 490.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.2623/0.8539, allocations: 49.07 MB / 0.5267 GB, free: 130 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (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)